Partager via


JoinableTaskContext.IsOnMainThread Property

Definition

Gets a value indicating whether the caller is executing on the main thread.

public:
 property bool IsOnMainThread { bool get(); };
public:
 property bool IsOnMainThread { bool get(); };
public bool IsOnMainThread { get; }
member this.IsOnMainThread : bool
Public ReadOnly Property IsOnMainThread As Boolean

Property Value

Applies to