AsyncValueTaskMethodBuilder.SetStateMachine(IAsyncStateMachine) Metod

Definition

Associerar byggaren med den angivna tillståndsdatorn.

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)

Parametrar

stateMachine
IAsyncStateMachine

Tillståndsdatorinstansen som ska associeras med byggaren.

Gäller för