-api-id | -api-type |
---|---|
P:Windows.UI.Core.ICorePointerInputSource2.DispatcherQueue |
winrt property |
Gets the DispatcherQueue associated with a platform object.
The DispatcherQueue for managing prioritized tasks that execute in a serial fashion on a thread.
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.