AsyncTaskMethodBuilder.SetStateMachine(IAsyncStateMachine) Método

Definição

Associa o construtor ao computador de estado especificado.

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 do computador de estado a ser associada ao construtor.

Exceções

stateMachine é null.

O computador de estado foi definido anteriormente.

Aplica-se a