DispatcherExtensions Class
.NET Framework 4.5
Provides a set of static methods that extend the Dispatcher class.
Namespace: System.Windows.Threading
Assembly: System.Windows.Presentation (in System.Windows.Presentation.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | BeginInvoke(Dispatcher, Action) | Executes the specified delegate asynchronously with normal priority on the thread that the specified Dispatcher was created on. |
![]() ![]() | BeginInvoke(Dispatcher, Action, DispatcherPriority) | Executes the specified delegate asynchronously with the specified priority on the thread that the specified Dispatcher was created on. |
![]() ![]() | Invoke(Dispatcher, Action) | Executes the specified delegate synchronously with normal priority on the thread that the specified Dispatcher was created on. |
![]() ![]() | Invoke(Dispatcher, Action, TimeSpan) | Executes the specified delegate synchronously on the thread that the specified Dispatcher was created on, and stops execution after the specified time-out period. |
![]() ![]() | Invoke(Dispatcher, Action, DispatcherPriority) | Executes the specified delegate synchronously with the specified priority on the thread that the specified Dispatcher was created on. |
![]() ![]() | Invoke(Dispatcher, Action, TimeSpan, DispatcherPriority) | Executes the specified delegate synchronously with the specified priority on the thread that the specified Dispatcher was created on, and stops execution after the specified time-out period. |
The methods in this class are defined as extension methods that extend the Dispatcher class. This means that they can be called like an instance method on any Dispatcher object.
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

