AsyncValueTaskMethodBuilder<TResult>.Start<TStateMachine> Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Começa a executar o construtor com o computador de estado associado.
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)
Parâmetros de tipo
- TStateMachine
O tipo do computador de estado.
Parâmetros
- stateMachine
- TStateMachine
A instância do computador de estado, passada por referência.