Bagikan melalui


AsyncTaskMethodBuilder.SetStateMachine(IAsyncStateMachine) Metode

Definisi

Mengaitkan penyusun dengan komputer status yang ditentukan.

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)

Parameter

stateMachine
IAsyncStateMachine

Instans komputer status untuk dikaitkan dengan penyusun.

Pengecualian

stateMachineadalah null.

Komputer status sebelumnya diatur.

Berlaku untuk