JoinableTask<T>.GetAwaiter 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.
Gets an awaiter that is equivalent to calling JoinAsync(CancellationToken).
public:
System::Runtime::CompilerServices::TaskAwaiter<T> GetAwaiter();
public System.Runtime.CompilerServices.TaskAwaiter<T> GetAwaiter ();
override this.GetAwaiter : unit -> System.Runtime.CompilerServices.TaskAwaiter<'T>
Public Function GetAwaiter () As TaskAwaiter(Of T)
Returns
TaskAwaiter<T>
A task whose result is the result of the asynchronous operation.