JoinableTaskFactory.MainThreadAwaiter.IsCompleted Property
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 a value indicating whether the caller is already on the Main thread.
public:
property bool IsCompleted { bool get(); };
public:
property bool IsCompleted { bool get(); };
public bool IsCompleted { get; }
member this.IsCompleted : bool
Public ReadOnly Property IsCompleted As Boolean
Property Value
true
if the caller is already on the main thread, otherwise false
.