IAsyncStateMachine.SetStateMachine(IAsyncStateMachine) 方法     
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
使用堆分配的副本配置该状态机。
public:
 void SetStateMachine(System::Runtime::CompilerServices::IAsyncStateMachine ^ stateMachine);public void SetStateMachine (System.Runtime.CompilerServices.IAsyncStateMachine stateMachine);abstract member SetStateMachine : System.Runtime.CompilerServices.IAsyncStateMachine -> unitPublic Sub SetStateMachine (stateMachine As IAsyncStateMachine)参数
- stateMachine
- IAsyncStateMachine
堆分配的副本。