AsyncValueTaskMethodBuilder.SetStateMachine(IAsyncStateMachine) Метод

Определение

Связывает построитель с указанным конечным автоматом.

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)

Параметры

stateMachine
IAsyncStateMachine

Экземпляр конечного автомата, связываемый с построителем.

Применяется к