AsyncValueTaskMethodBuilder<TResult>.Start<TStateMachine> Metod

Definition

Börjar köra byggaren med den associerade tillståndsdatorn.

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)

Typparametrar

TStateMachine

Typ av tillståndsdator.

Parametrar

stateMachine
TStateMachine

Tillståndsdatorinstansen som skickas med referens.

Gäller för