Sdílet prostřednictvím


PoolingAsyncValueTaskMethodBuilder<TResult>.AwaitOnCompleted<TAwaiter,TStateMachine> Metoda

Definice

Naplánuje stavový počítač tak, aby po dokončení zadaného operátoru awaiter pokračoval k další akci.

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)

Parametry typu

TAwaiter

Typ operátoru awaiter.

TStateMachine

Typ stavového počítače.

Parametry

awaiter
TAwaiter

operátor awaiter

stateMachine
TStateMachine

Stavový počítač.

Platí pro