Bewerken

Delen via


PoolingAsyncValueTaskMethodBuilder.SetStateMachine(IAsyncStateMachine) Method

Definition

Associates the builder with the specified state machine.

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

The state machine instance to associate with the builder.

Applies to