AsyncValueTaskMethodBuilder.SetStateMachine(IAsyncStateMachine) Méthode

Définition

Associe le générateur à la machine à états spécifiée.

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)

Paramètres

stateMachine
IAsyncStateMachine

Instance de machine à états à associer au concepteur.

S’applique à