다음을 통해 공유


AsyncVoidMethodBuilder.AwaitOnCompleted<TAwaiter,TStateMachine> 메서드

정의

지정된 awaiter가 완료되면 다음 작업을 계속하도록 상태 시스템을 예약합니다.

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)

형식 매개 변수

TAwaiter

awaiter의 형식입니다.

TStateMachine

상태 컴퓨터의 형식입니다.

매개 변수

awaiter
TAwaiter

Awaiter입니다.

stateMachine
TStateMachine

상태 시스템입니다.

적용 대상