AsyncTaskMethodBuilder<TResult>.Start<TStateMachine> Metoda

Definicja

Rozpoczyna uruchamianie konstruktora ze skojarzona maszyna stanu.

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 maszyny stanu.

Parametry

stateMachine
TStateMachine

Wystąpienie maszyny stanu przekazane przez odwołanie.

Wyjątki

stateMachine to null.

Dotyczy