Share via


ICorePointerInputSource2.DispatcherQueue Property

Definition

Gets the DispatcherQueue associated with a platform object.

public:
 property DispatcherQueue ^ DispatcherQueue { DispatcherQueue ^ get(); };
DispatcherQueue DispatcherQueue();
public DispatcherQueue DispatcherQueue { get; }
var dispatcherQueue = iCorePointerInputSource2.dispatcherQueue;
Public ReadOnly Property DispatcherQueue As DispatcherQueue

Property Value

The DispatcherQueue for managing prioritized tasks that execute in a serial fashion on a thread.

Remarks

Some platform objects require thread affinity for posting events back to the thread where the object was instantiated. The DispatcherQueue lets you post work to this thread.

These platform objects can be created on the UI thread, where the DispatcherQueue already exists, or they can be created on a long running, non-UI thread with a DispatcherQueue created with the DispatcherQueueController.CreateOnDedicatedThread method.

Applies to