AsyncTaskMethodBuilder<TResult>.Start<TStateMachine> Methode

Definitie

Begint met het uitvoeren van de opbouwfunctie met de gekoppelde statusmachine.

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 : 'StateMachine -> unit (requires 'StateMachine :> System.Runtime.CompilerServices.IAsyncStateMachine)
Public Sub Start(Of TStateMachine As IAsyncStateMachine) (ByRef stateMachine As TStateMachine)

Type parameters

TStateMachine

Het type statusmachine.

Parameters

stateMachine
TStateMachine

Het exemplaar van de statusmachine, doorgegeven door verwijzing.

Uitzonderingen

stateMachine is null.

Van toepassing op