• Home
  • Blog
  • Docs
  • GitHub
Show / Hide Table of Contents

Class ExecuteAsyncTask<TResult>

Wraps a System.Threading.Tasks.Task<TResult> into an AsyncInstallTask<T> that yields TaskResult<T>.

Inheritance
System.Object
AsyncInstallTask<TResult>
ExecuteAsyncTask<TResult>
Inherited Members
AsyncInstallTask<TResult>.CreateSuccessDescription()
AsyncInstallTask<TResult>.CreateFailureDescription(AggregateException)
AsyncInstallTask<TResult>.GetAwaiter()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Snowflake.Installation.Tasks
Assembly: Snowflake.Framework.dll
Syntax
public class ExecuteAsyncTask<TResult> : AsyncInstallTask<TResult>
Type Parameters
Name Description
TResult

The return type of the task.

Constructors

ExecuteAsyncTask(Task<TResult>)

Describes the execution result of the supplied task as a TaskResult<T>

Declaration
public ExecuteAsyncTask(Task<TResult> task)
Parameters
Type Name Description
System.Threading.Tasks.Task<TResult> task

The task to execute.

Properties

TaskName

Declaration
protected override string TaskName { get; }
Property Value
Type Description
System.String
Overrides
Snowflake.Installation.AsyncInstallTask<TResult>.TaskName

Methods

ExecuteOnce()

Declaration
protected override Task<TResult> ExecuteOnce()
Returns
Type Description
System.Threading.Tasks.Task<TResult>
Overrides
Snowflake.Installation.AsyncInstallTask<TResult>.ExecuteOnce()
Built with ❤️ by @chyyran. Text content licensed under CC-BY-SA 4.0.