DispatcherObject.Dispatcher Property

 

Gets the Dispatcher this DispatcherObject is associated with.

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

member Dispatcher : Dispatcher with 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
Available since 3.0
Return to top
Show: