AsyncVoidMethodBuilder.Start<TStateMachine>(TStateMachine) Méthode

Définition

Commence à exécuter le générateur avec l’ordinateur d’état associé.

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)

Paramètres de type

TStateMachine

Type de l’ordinateur d’état.

Paramètres

stateMachine
TStateMachine

Instance de l’ordinateur d’état, passée par référence.

Exceptions

stateMachine a la valeur null.

S’applique à