CoreComponentInputSource.DispatcherQueue CoreComponentInputSource.DispatcherQueue CoreComponentInputSource.DispatcherQueue CoreComponentInputSource.DispatcherQueue Property

Definition

Gets the DispatcherQueue associated with this CoreComponentInputSource.

public : DispatcherQueue DispatcherQueue { get; }
DispatcherQueue DispatcherQueue();
public DispatcherQueue DispatcherQueue { get; }
Public ReadOnly Property DispatcherQueue As DispatcherQueue

Property Value

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

Additional features and requirements

Device family
Windows 10, version 1803 (introduced v10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v6)

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.