Compartir a través de


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

See Also

Reference

JoinableTaskFactory.MainThreadAwaiter Structure

Microsoft.VisualStudio.Threading Namespace