System.Windows.Threading Namespace

提供支援 Windows Presentation Foundation (WPF) 執行緒系統的類型。 Contains types to support the Windows Presentation Foundation (WPF) threading system.

類別

Dispatcher

提供管理執行緒之工作項目佇列的服務。Provides services for managing the queue of work items for a thread.

DispatcherEventArgs

提供 Dispatcher 相關事件的事件資料。Provides event data for Dispatcher related events.

DispatcherExtensions

提供可以擴充 Dispatcher 類別的一組 static 方法。Provides a set of static methods that extend the Dispatcher class.

DispatcherFrame

表示 Dispatcher 中的例外狀況迴圈。Represents an execution loop in the Dispatcher.

DispatcherHookEventArgs

提供 DispatcherHooks 事件的事件資料。Provides event data for DispatcherHooks events.

DispatcherHooks

提供 Dispatcher 處理的其他事件資訊。Provides additional event information about Dispatcher processing.

DispatcherObject

表示與 Dispatcher 關聯的物件。Represents an object that is associated with a Dispatcher.

DispatcherOperation

表示物件,這個物件可用來與已張貼至 Dispatcher 佇列的作業互動。Represents an object that is used to interact with an operation that has been posted to the Dispatcher queue.

DispatcherOperation<TResult>

表示物件,這個物件可用來與已張貼至 Dispatcher 佇列並包含 Task<TResult> 的作業互動。Represents an object that is used to interact with an operation that has been posted to the Dispatcher queue and contains a Task<TResult>.

DispatcherSynchronizationContext

提供 Windows Presentation Foundation (WPF) 的同步處理內容。Provides a synchronization context for Windows Presentation Foundation (WPF).

DispatcherTimer

整合至 Dispatcher 佇列中的計時器,會在指定的時間間隔以指定的優先權處理這個佇列。A timer that is integrated into the Dispatcher queue which is processed at a specified interval of time and at a specified priority.

DispatcherUnhandledExceptionEventArgs

提供 DispatcherUnhandledException 事件的資料。Provides data for the DispatcherUnhandledException event.

DispatcherUnhandledExceptionFilterEventArgs

提供 DispatcherUnhandledExceptionFilter 事件的資料。Provides data for the DispatcherUnhandledExceptionFilter event.

TaskExtensions

提供可以擴充 Task 類別的一組 static 方法。Provides a set of static methods that extend the Task class.

結構

DispatcherPriorityAwaitable

代表可等候物件,會以非同步方式讓出控制權給目前的發送器,並提供機會讓發送器處理其他事件Represents an awaitable object that asynchronously yields control back to the current dispatcher and provides an opportunity for the dispatcher to process other events

DispatcherPriorityAwaiter

表示等候非同步工作完成的物件。Represents an object that waits for the completion of an asynchronous task.

DispatcherProcessingDisabled

表示停用狀態的發送器並提供重新啟用發送器處理的方法。Represents the Dispatcher when it is in a disable state and provides a means to re-enable dispatcher processing.

列舉

DispatcherOperationStatus

描述 DispatcherOperation 狀態的可能值。Describes the possible values for the status of a DispatcherOperation.

DispatcherPriority

描述使用 Dispatcher 叫用作業的優先權。Describes the priorities at which operations can be invoked by way of the Dispatcher.

委派

DispatcherHookEventHandler

表示將處理 DispatcherHooks 相關事件的方法。Represents the method that will handle DispatcherHooks related events.

DispatcherOperationCallback

代表要用於發送器作業的委派。Represents a delegate to use for dispatcher operations.

DispatcherUnhandledExceptionEventHandler

代表將處理 UnhandledException 事件的方法。Represents the method that will handle the UnhandledException event.

DispatcherUnhandledExceptionFilterEventHandler

代表將處理 UnhandledExceptionFilter 事件的方法。Represents the method that will handle the UnhandledExceptionFilter event.