JoinableTaskFactory.MainThreadAwaiter.IsCompleted Property
Determines whether the caller is already on the main thread.
Namespace: Microsoft.VisualStudio.Threading
Assembly: Microsoft.VisualStudio.Threading (in Microsoft.VisualStudio.Threading.dll)
Syntax
'Declaration
Public ReadOnly Property IsCompleted As Boolean
public bool IsCompleted { get; }
public:
property bool IsCompleted {
bool get ();
}
member IsCompleted : bool with get
function get IsCompleted () : boolean
Property Value
Type: System.Boolean
true if the caller is already on the main thread, otherwise false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.