PoolingAsyncValueTaskMethodBuilder<TResult>.AwaitUnsafeOnCompleted<TAwaiter,TStateMachine> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Schedules the state machine to proceed to the next action when the specified awaiter completes.
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)
Type Parameters
- TAwaiter
The type of the awaiter.
- TStateMachine
The type of the state machine.
Parameters
- awaiter
- TAwaiter
the awaiter
- stateMachine
- TStateMachine
The state machine.
Applies to
Surađujte s nama na GitHubu
Izvor za ovaj sadržaj možete pronaći na GitHubu, gdje možete stvarati i pregledavati probleme i zahtjeve za povlačenjem. Dodatne informacije potražite u našem vodiču za suradnike.