AsyncVoidMethodBuilder.SetStateMachine(IAsyncStateMachine) Método
Definição
Associa o construtor com a máquina de estado especificada.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)
Parâmetros
- stateMachine
- IAsyncStateMachine
A instância de máquina de estado a ser associada com o construtor.The state machine instance to associate with the builder.
Exceções
stateMachine é null.stateMachine is null.
A máquina de estado foi definida anteriormente.The state machine was previously set.