Redigera

Dela via


DispatcherOperation.GetAwaiter Method

Definition

Returns an object that is notified when the asynchronous operation is finished.

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

Returns

An object that is notified when the asynchronous operation is finished.

Attributes

Remarks

This method is intended to be used by compilers.

Applies to