CoreApplicationView.DispatcherQueue 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 the DispatcherQueue for the window.
public:
property DispatcherQueue ^ DispatcherQueue { DispatcherQueue ^ get(); };
DispatcherQueue DispatcherQueue();
public DispatcherQueue DispatcherQueue { get; }
var dispatcherQueue = coreApplicationView.dispatcherQueue;
Public ReadOnly Property DispatcherQueue As DispatcherQueue
Property Value
A DispatcherQueue instance.
Windows requirements
Device family |
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v5.0)
|
Remarks
The DispatcherQueue allows you to run your tasks on the thread associated with the DispatcherQueue instance. To make UI changes on a CoreApplicationView from a different thread, use the DispatcherQueue from that CoreApplicationView.