Aracılığıyla paylaş


AsyncVoidMethodBuilder.AwaitOnCompleted<TAwaiter,TStateMachine> Yöntem

Tanım

Belirtilen awaiter tamamlandığında durum makinesini sonraki eyleme geçecek şekilde zamanlar.

public:
generic <typename TAwaiter, typename TStateMachine>
 where TAwaiter : System::Runtime::CompilerServices::INotifyCompletion where TStateMachine : System::Runtime::CompilerServices::IAsyncStateMachine void AwaitOnCompleted(TAwaiter % awaiter, TStateMachine % stateMachine);
public void AwaitOnCompleted<TAwaiter,TStateMachine> (ref TAwaiter awaiter, ref TStateMachine stateMachine) where TAwaiter : System.Runtime.CompilerServices.INotifyCompletion where TStateMachine : System.Runtime.CompilerServices.IAsyncStateMachine;
member this.AwaitOnCompleted : 'Awaiter * 'StateMachine -> unit (requires 'Awaiter :> System.Runtime.CompilerServices.INotifyCompletion and 'StateMachine :> System.Runtime.CompilerServices.IAsyncStateMachine)
Public Sub AwaitOnCompleted(Of TAwaiter As INotifyCompletion, TStateMachine As INotifyCompletion) (ByRef awaiter As TAwaiter, ByRef stateMachine As TStateMachine)

Tür Parametreleri

TAwaiter

Bekleyenin türü.

TStateMachine

Durum makinesinin türü.

Parametreler

awaiter
TAwaiter

Bekleyici.

stateMachine
TStateMachine

Durum makinesi.

Şunlara uygulanır