Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5

  Switch on low bandwidth view
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
DispatcherOperation Class

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

Namespace:  System.Windows.Threading
Assembly:  WindowsBase (in WindowsBase.dll)
Visual Basic (Declaration)
Public NotInheritable Class DispatcherOperation
Visual Basic (Usage)
Dim instance As DispatcherOperation
C#
public sealed class DispatcherOperation
Visual C++
public ref class DispatcherOperation sealed
JScript
public final class DispatcherOperation
XAML
You cannot directly create an instance of this class in XAML.

BeginInvoke returns a DispatcherOperation object when it is called.

The DispatcherOperation object can be used to interact with the delegate on the Dispatcher queue, such as changing the priority of the operation or aborting the operation.

To obtain the return value of the invoked delegate, use the Result property.

The DispatcherOperation is not an exception handling boundary. This means that exceptions are handled by the Dispatcher and are not preserved by the operation.

System..::.Object
  System.Windows.Threading..::.DispatcherOperation
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

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
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker