Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
 Dispatcher Property
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.NET Framework Class Library
DispatcherObject..::.Dispatcher Property

Updated: November 2007

Gets the Dispatcher this DispatcherObject is associated with.

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

Visual Basic (Declaration)
Public ReadOnly Property Dispatcher As Dispatcher
Visual Basic (Usage)
Dim instance As DispatcherObject
Dim value As Dispatcher

value = instance.Dispatcher
C#
public Dispatcher Dispatcher { get; }
Visual C++
public:
property Dispatcher^ Dispatcher {
    Dispatcher^ get ();
}
J#
/** @property */
public Dispatcher get_Dispatcher()
JScript
public function get Dispatcher () : Dispatcher
XAML
You cannot set this property in XAML.

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.

Windows Vista

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker