AsyncValueTaskMethodBuilder.SetStateMachine(IAsyncStateMachine) AsyncValueTaskMethodBuilder.SetStateMachine(IAsyncStateMachine) AsyncValueTaskMethodBuilder.SetStateMachine(IAsyncStateMachine) AsyncValueTaskMethodBuilder.SetStateMachine(IAsyncStateMachine) Method

Definizione

Associa il generatore alla macchina a stati specificata.Associates the builder with the specified state machine.

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 IAsyncStateMachine IAsyncStateMachine IAsyncStateMachine

Istanza della macchina a stati da associare al generatore.The state machine instance to associate with the builder.

Si applica a