DispatcherOperation Class

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Enables programs to interact with a delegate that has been posted to a dispatcher queue.

Inheritance Hierarchy

System. . :: . .Object
  Microsoft.SPOT..::..DispatcherOperation

Namespace:  Microsoft.SPOT
Assembly:  Microsoft.SPOT.TinyCore (in Microsoft.SPOT.TinyCore.dll)

Syntax

'Declaration
Public NotInheritable Class DispatcherOperation
public sealed class DispatcherOperation
public ref class DispatcherOperation sealed
[<Sealed>]
type DispatcherOperation =  class end
public final class DispatcherOperation

The DispatcherOperation type exposes the following members.

Properties

  Name Description
Public property Dispatcher Gets the dispatcher that the delegate associated with the current DispatcherOperation object was posted to.
Public property Result Gets the result of the delegate associated with the current DispatcherOperation object, if the operation has completed.
Public property Status Gets the current operation status of the delegate on the dispatcher queue associated with the current DispatcherOperation object.

Top

Methods

  Name Description
Public method Abort Aborts the delegate on the dispatcher queue associated with the current DispatcherOperation object.
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method Wait() () () () Waits for the delegate on the dispatcher queue associated with the current DispatcherOperation object to complete.
Public method Wait(TimeSpan) Waits for a specified amount of time for the delegate on the dispatcher queue associated with the current DispatcherOperation object to complete.

Top

Events

  Name Description
Public event Aborted Occurs when the delegate on the dispatcher queue associated with the current DispatcherOperation object is aborted.
Public event Completed Occurs when the delegate on the dispatcher queue associated with the current DispatcherOperation object completes.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.SPOT Namespace