DispatcherQueue.HasThreadAccess Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value indicating whether the DispatcherQueue has access to the current thread.
public:
property bool HasThreadAccess { bool get(); };
bool HasThreadAccess();
public bool HasThreadAccess { get; }
var boolean = dispatcherQueue.hasThreadAccess;
Public ReadOnly Property HasThreadAccess As Boolean
Property Value
Boolean
bool
Windows requirements
Device family |
Windows 10, version 1903 (introduced in 10.0.18362.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v8.0)
|
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort: Gedurende 2024 worden GitHub Issues uitgefaseerd als het feedbackmechanisme voor inhoud. Dit wordt vervangen door een nieuw feedbacksysteem. Ga voor meer informatie naar:Feedback verzenden en bekijken voor