AsyncTaskMethodBuilder.AwaitUnsafeOnCompleted(TAwaiter, TStateMachine) AsyncTaskMethodBuilder.AwaitUnsafeOnCompleted(TAwaiter, TStateMachine) AsyncTaskMethodBuilder.AwaitUnsafeOnCompleted(TAwaiter, TStateMachine) AsyncTaskMethodBuilder.AwaitUnsafeOnCompleted(TAwaiter, TStateMachine) Method

定義

指定された awaiter が完了したときに次の操作に進むようにステート マシンをスケジュールします。Schedules the state machine to proceed to the next action when the specified awaiter completes. このメソッドは、部分的に信頼されているコードから呼び出すことができます。This method can be called from partially trusted code.

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 :  *  -> 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)

型パラメーター

TAwaiter

awaiter の型。The type of the awaiter.

TStateMachine

ステート マシンの型。The type of the state machine.

パラメーター

awaiter

awaiter。The awaiter.

stateMachine

ステート マシン。The state machine.

適用対象