Export (0) Print
Expand All

DispatcherObject.Dispatcher Property

Gets the Dispatcher this DispatcherObject is associated with.

Namespace:  System.Windows.Threading
Assembly:  WindowsBase (in WindowsBase.dll)

public Dispatcher Dispatcher { get; }

Property Value

Type: System.Windows.Threading.Dispatcher
The dispatcher.

Only the thread that the Dispatcher was created on may access the DispatcherObject directly. To access a DispatcherObject from a thread other than the thread the DispatcherObject was created on, call Invoke and BeginInvoke on the Dispatcher the DispatcherObject is associated with.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft