AsyncValueTaskMethodBuilder.SetStateMachine(IAsyncStateMachine) Metodo

Definizione

Associa il generatore alla macchina a stati specificata.

public:
 void SetStateMachine(System::Runtime::CompilerServices::IAsyncStateMachine ^ stateMachine);
public void SetStateMachine (System.Runtime.CompilerServices.IAsyncStateMachine stateMachine);
member this.SetStateMachine : System.Runtime.CompilerServices.IAsyncStateMachine -> unit
Public Sub SetStateMachine (stateMachine As IAsyncStateMachine)

Parametri

stateMachine
IAsyncStateMachine

Istanza della macchina a stati da associare al generatore.

Si applica a