Sdílet prostřednictvím


JoinableTaskFactory.MainThreadAwaiter.IsCompleted Property

Definition

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.

Applies to