แก้ไข

แชร์ผ่าน


AsyncVoidMethodBuilder.Start<TStateMachine>(TStateMachine) Method

Definition

Begins running the builder with the associated state machine.

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)

Type Parameters

TStateMachine

The type of the state machine.

Parameters

stateMachine
TStateMachine

The state machine instance, passed by reference.

Exceptions

stateMachine is null.

Applies to