AsyncTaskMethodBuilder.Start<TStateMachine>(TStateMachine) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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.