AsyncValueTaskMethodBuilder.SetStateMachine(IAsyncStateMachine) Metódus

Definíció

Társítja a szerkesztőt a megadott állapotgéppel.

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éterek

stateMachine
IAsyncStateMachine

A szerkesztőhöz társítandó állapotgép-példány.

A következőre érvényes: