-api-id | -api-type |
---|---|
T:Microsoft.UI.Dispatching.DispatcherQueueController |
winrt class |
Manages the lifetime of a DispatcherQueue.
DispatcherQueueController and its associated DispatcherQueue will be kept alive while the event loop is running. When Shutdown is completed, the loop is terminated and the dedicated thread will unwind. However, DispatcherQueueController and the associated DispatcherQueue object can outlive thread’s lifetime and will be disposed when all their references are released.