-api-id | -api-type |
---|---|
M:Windows.System.DispatcherQueueController.CreateOnDedicatedThread |
winrt method |
Creates a DispatcherQueue that you can use to run tasks on a dedicated thread.
The created DispatcherQueueController.
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.