IAsyncStateMachine.SetStateMachine(IAsyncStateMachine) 方法

定义

使用堆分配的副本配置该状态机。

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)

参数

stateMachine
IAsyncStateMachine

堆分配的副本。

适用于