Aracılığıyla paylaş


PoolingAsyncValueTaskMethodBuilder<TResult>.AwaitUnsafeOnCompleted<TAwaiter,TStateMachine> Yöntem

Tanım

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

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

Tür Parametreleri

TAwaiter

Bekleyicinin türü.

TStateMachine

Durum makinesinin türü.

Parametreler

awaiter
TAwaiter

bekleyici

stateMachine
TStateMachine

Durum makinesi.

Şunlara uygulanır