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

Definicja

Rozpoczyna uruchamianie konstruktora przy użyciu skojarzonego komputera stanu.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 : 'StateMachine -> unit (requires 'StateMachine :> System.Runtime.CompilerServices.IAsyncStateMachine)
Public Sub Start(Of TStateMachine As IAsyncStateMachine) (ByRef stateMachine As TStateMachine)

Parametry typu

TStateMachine

Typ automatu Stanów.The type of the state machine.

Parametry

stateMachine
TStateMachine

Wystąpienie automatu Stanów, zakończone przez odwołanie.The state machine instance, passed by reference.

Wyjątki

stateMachinejest null.stateMachine is null.

Dotyczy