JoinableTaskFactory.MainThreadAwaiter Structure

 

An awaiter struct that facilitates an asynchronous transition to the main thread.

Namespace:   Microsoft.VisualStudio.Threading
Assembly:  Microsoft.VisualStudio.Threading (in Microsoft.VisualStudio.Threading.dll)

public struct MainThreadAwaiter : INotifyCompletion

NameDescription
System_CAPS_pubpropertyIsCompleted

Determines whether the caller is already on the main thread.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from ValueType.)

System_CAPS_pubmethodGetHashCode()

(Inherited from ValueType.)

System_CAPS_pubmethodGetResult()

Called on the main thread to prepare it to execute the continuation.

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodOnCompleted(Action)

Called on the main thread to prepare it to execute the continuation.

System_CAPS_pubmethodToString()

(Inherited from ValueType.)

This type is thread-safe for all members.

Return to top
Show: