AsyncTaskMethodBuilder.Start<TStateMachine>(TStateMachine) Metódus
Definíció
Fontos
Egyes információk olyan, kiadás előtti termékekre vonatkoznak, amelyek a kiadásig még jelentősen módosulhatnak. A Microsoft nem vállal kifejezett vagy törvényi garanciát az itt megjelenő információért.
Megkezdi a szerkesztő futtatását a társított állapotgéppel.
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)
Típusparaméterek
- TStateMachine
Az állapotgép típusa.
Paraméterek
- stateMachine
- TStateMachine
Az állapotgép-példány, amelyet hivatkozással ad át.
Kivételek
stateMachine az null.