AsyncTaskMethodBuilder.SetStateMachine(IAsyncStateMachine) 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.
Társítja a szerkesztőt a megadott állapotgéppel.
public:
void SetStateMachine(System::Runtime::CompilerServices::IAsyncStateMachine ^ stateMachine);
public void SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine stateMachine);
member this.SetStateMachine : System.Runtime.CompilerServices.IAsyncStateMachine -> unit
Public Sub SetStateMachine (stateMachine As IAsyncStateMachine)
Paraméterek
- stateMachine
- IAsyncStateMachine
A szerkesztőhöz társítandó állapotgép-példány.
Kivételek
stateMachine az null.
Az állapotgép korábban be lett állítva.