DispatcherOperation<TResult>.GetAwaiter Method

.NET Framework 4.6 and 4.5

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

Namespace:  System.Windows.Threading
Assembly:  WindowsBase (in WindowsBase.dll)

[BrowsableAttribute(false)]
public TaskAwaiter<TResult> GetAwaiter()

Return Value

Type: System.Runtime.CompilerServices.TaskAwaiter<TResult>
An object that awaits an asynchronous operation that returns a result.

.NET Framework

Supported in: 4.6, 4.5
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft