AsyncTaskMethodBuilder.Start<TStateMachine>(TStateMachine) Metódus

Definíció

Megkezdi a szerkesztő futtatását a társított állapotgéppel.

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)

Típusparaméterek

TStateMachine

Az állapotgép típusa.

Paraméterek

stateMachine
TStateMachine

Az állapotgép-példány, amelyet hivatkozással ad át.

Kivételek

stateMachine az null.

A következőre érvényes: