Microsoft.UI.Dispatching 命名空間

啟用佇列,讓工作在線程上以序列方式執行。

類別

名稱 Description
DispatcherExitDeferral

代表一個物件,你的應用程式可以用來延後 DispatcherQueue 的退出。

DispatcherQueue

管理一個優先順序的佇列,任務在執行緒中以序列方式執行。

DispatcherQueueController

管理 DispatcherQueue 的生命週期。

DispatcherQueueShutdownStartingEventArgs

提供 ShutdownStarting 事件的論證。

DispatcherQueueTimer

在一段時間間隔後,定期執行 DispatcherQueue 中的任務。

列舉

名稱 Description
DispatcherQueuePriority

定義分配給派 遣隊列的工作可分配的優先級。

DispatcherRunOptions

定義了與執行訊息迴圈時退出訊息相關的選項的常數。

委派

名稱 Description
DispatcherQueueHandler

一個會在 DispatcherQueue 執行緒上執行的回調。