Modifier

Partager via


DispatcherOperation<TResult>.GetAwaiter Method

Definition

Returns an object that awaits an asynchronous operation that returns a result.

public:
 System::Runtime::CompilerServices::TaskAwaiter<TResult> GetAwaiter();
[System.ComponentModel.Browsable(false)]
public System.Runtime.CompilerServices.TaskAwaiter<TResult> GetAwaiter ();
[<System.ComponentModel.Browsable(false)>]
override this.GetAwaiter : unit -> System.Runtime.CompilerServices.TaskAwaiter<'Result>
Public Function GetAwaiter () As TaskAwaiter(Of TResult)

Returns

An object that awaits an asynchronous operation that returns a result.

Attributes

Remarks

This method is intended to be used by compilers.

Applies to