AsyncTaskMethodBuilder<TResult>.Start(TStateMachine) AsyncTaskMethodBuilder<TResult>.Start(TStateMachine) AsyncTaskMethodBuilder<TResult>.Start(TStateMachine) AsyncTaskMethodBuilder<TResult>.Start(TStateMachine) Method

Definition

Begins running the builder with the associated state machine.

public:
generic <typename TStateMachine>
 where TStateMachine : System::Runtime::CompilerServices::IAsyncStateMachine void Start(TStateMachine % stateMachine);
public void Start<TStateMachine> (ref TStateMachine stateMachine) where TStateMachine : System.Runtime.CompilerServices.IAsyncStateMachine;
member this.Start :  -> unit (requires 'StateMachine :> System.Runtime.CompilerServices.IAsyncStateMachine)
Public Sub Start(Of TStateMachine As IAsyncStateMachine) (ByRef stateMachine As TStateMachine)

Type Parameters

TStateMachine

The type of the state machine.

Parameters

stateMachine

The state machine instance, passed by reference.

Exceptions

Applies to