Редагувати

Поділитися через


System.Windows.Threading Namespace

Contains types to support the Windows Presentation Foundation (WPF) threading system.

Classes

Dispatcher

Provides services for managing the queue of work items for a thread.

DispatcherEventArgs

Provides event data for Dispatcher related events.

DispatcherExtensions

Provides a set of static methods that extend the Dispatcher class.

DispatcherFrame

Represents an execution loop in the Dispatcher.

DispatcherHookEventArgs

Provides event data for DispatcherHooks events.

DispatcherHooks

Provides additional event information about Dispatcher processing.

DispatcherObject

Represents an object that is associated with a Dispatcher.

DispatcherOperation

Represents an object that is used to interact with an operation that has been posted to the Dispatcher queue.

DispatcherOperation<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

Provides a synchronization context for Windows Presentation Foundation (WPF).

DispatcherTimer

A timer that is integrated into the Dispatcher queue which is processed at a specified interval of time and at a specified priority.

DispatcherUnhandledExceptionEventArgs

Provides data for the DispatcherUnhandledException event.

DispatcherUnhandledExceptionFilterEventArgs

Provides data for the DispatcherUnhandledExceptionFilter event.

TaskExtensions

Provides a set of static methods that extend the Task class.

Structs

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.

Enums

DispatcherOperationStatus

Describes the possible values for the status of a DispatcherOperation.

DispatcherPriority

Describes the priorities at which operations can be invoked by way of the Dispatcher.

Delegates

DispatcherHookEventHandler

Represents the method that will handle DispatcherHooks related events.

DispatcherOperationCallback

Represents a delegate to use for dispatcher operations.

DispatcherUnhandledExceptionEventHandler

Represents the method that will handle the UnhandledException event.

DispatcherUnhandledExceptionFilterEventHandler

Represents the method that will handle the UnhandledExceptionFilter event.