JoinableTaskFactory.MainThreadAwaiter Structure
Visual Studio 2015
An awaiter struct that facilitates an asynchronous transition to the main thread.
Assembly: Microsoft.VisualStudio.Threading (in Microsoft.VisualStudio.Threading.dll)
| Name | Description | |
|---|---|---|
![]() | IsCompleted | Determines whether the caller is already on the main thread. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | (Inherited from ValueType.) |
![]() | GetHashCode() | (Inherited from ValueType.) |
![]() | GetResult() | Called on the main thread to prepare it to execute the continuation. |
![]() | GetType() | (Inherited from Object.) |
![]() | OnCompleted(Action) | Called on the main thread to prepare it to execute the continuation. |
![]() | ToString() | (Inherited from ValueType.) |
This type is thread-safe for all members.
Show:

