共用方式為


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

堆積配置的複本。

適用於