Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 971 Bytes

dispatcherqueuecontroller_createondedicatedthread_660689653.md

File metadata and controls

28 lines (20 loc) · 971 Bytes
-api-id -api-type
M:Windows.System.DispatcherQueueController.CreateOnDedicatedThread
winrt method

Windows.System.DispatcherQueueController.CreateOnDedicatedThread

-description

Creates a DispatcherQueue that you can use to run tasks on a dedicated thread.

-returns

The created DispatcherQueueController.

-remarks

You can access the created DispatcherQueue via DispatcherQueueController.DispatcherQueue.

The created DispatcherQueue continues running on its dedicated thread until explicitly shut down. To avoid thread and memory leaks, call DispatcherQueueController.ShutdownQueueAsync when you are finished with the DispatcherQueue.

-see-also

-examples