AsyncValueTaskMethodBuilder.Start<TStateMachine>(TStateMachine) 方法

定义

开始运行具有关联状态机的生成器。

public:
generic <typename TStateMachine>
 where TStateMachine : System::Runtime::CompilerServices::IAsyncStateMachine void Start(TStateMachine % stateMachine);
public void Start<TStateMachine> (ref TStateMachine stateMachine) where TStateMachine : System.Runtime.CompilerServices.IAsyncStateMachine;
member this.Start : 'StateMachine -> unit (requires 'StateMachine :> System.Runtime.CompilerServices.IAsyncStateMachine)
Public Sub Start(Of TStateMachine As IAsyncStateMachine) (ByRef stateMachine As TStateMachine)

类型参数

TStateMachine

状态机的类型。

参数

stateMachine
TStateMachine

由引用传递的状态机实例。

适用于