struct AsyncTaskMethodBuilder
in global :: System . Runtime . CompilerServices
Represents a builder for asynchronous methods that return a task.
public void SetException( Exception exception )
Marks the task as failed and binds the specified exception to the task.
exceptionThe exception to bind to the task.
public void SetStateMachine( IAsyncStateMachine stateMachine )
Associates the builder with the specified state machine.
stateMachineThe state machine instance to associate with the builder.
public Task Task { get; }
Gets the task for this builder.
- Returns The task for this builder.
public static AsyncTaskMethodBuilder Create( )
😔 No documentation found.
public void Start( ref TStateMachine stateMachine )
😔 No documentation found.
public void AwaitOnCompleted( ref TAwaiter awaiter, ref TStateMachine stateMachine )
😔 No documentation found.
public void AwaitUnsafeOnCompleted( ref TAwaiter awaiter, ref TStateMachine stateMachine )
😔 No documentation found.
public void SetResult( )
😔 No documentation found.
public bool Equals( object obj )
😔 No documentation found.
public int GetHashCode( )
😔 No documentation found.
public string ToString( )
😔 No documentation found.
public Type GetType( )
😔 No documentation found.