CoreDispatcher.HasThreadAccess Property

Definition

Gets a value that specifies whether the event dispatcher provided by this instance of CoreWindow has access to the current thread or not.

public:
 property bool HasThreadAccess { bool get(); };
bool HasThreadAccess();
public bool HasThreadAccess { get; }
var boolean = coreDispatcher.hasThreadAccess;
Public ReadOnly Property HasThreadAccess As Boolean

Property Value

Boolean

bool

True if the event dispatcher has thread access; false it does not.

Applies to