AsyncValueTaskMethodBuilder.Start<TStateMachine>(TStateMachine) Yöntem

Tanım

Oluşturucuyu ilişkili durum makinesiyle çalıştırmaya başlar.

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ür Parametreleri

TStateMachine

Durum makinesinin türü.

Parametreler

stateMachine
TStateMachine

Başvuruyla geçirilen durum makinesi örneği.

Şunlara uygulanır