Udostępnij za pośrednictwem


CoreApplicationView.DispatcherQueue Property

Definition

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.

Applies to