AsyncValueTaskMethodBuilder<TResult>.SetStateMachine Methode

Definitie

Koppelt de opbouwfunctie aan de opgegeven statusmachine.

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)

Parameters

stateMachine
IAsyncStateMachine

Het exemplaar van de statusmachine dat moet worden gekoppeld aan de opbouwfunctie.

Van toepassing op