IAsyncStateMachine.SetStateMachine(IAsyncStateMachine) Method

Definition

Configures the state machine with a heap-allocated replica.

public:
 void SetStateMachine(System::Runtime::CompilerServices::IAsyncStateMachine ^ stateMachine);
public void SetStateMachine (System.Runtime.CompilerServices.IAsyncStateMachine stateMachine);
abstract member SetStateMachine : System.Runtime.CompilerServices.IAsyncStateMachine -> unit
Public Sub SetStateMachine (stateMachine As IAsyncStateMachine)

Parameters

stateMachine
IAsyncStateMachine

The heap-allocated replica.

Applies to