共用方式為


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

狀態機器執行個體,由參考傳遞。

適用於