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 | |
---|---|---|
Dispatcher | Gets the dispatcher that the delegate associated with the current DispatcherOperation object was posted to. | |
Result | Gets the result of the delegate associated with the current DispatcherOperation object, if the operation has completed. | |
Status | Gets the current operation status of the delegate on the dispatcher queue associated with the current DispatcherOperation object. |
Top
Methods
Name | Description | |
---|---|---|
Abort | Aborts the delegate on the dispatcher queue associated with the current DispatcherOperation object. | |
Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Wait() () () () | Waits for the delegate on the dispatcher queue associated with the current DispatcherOperation object to complete. | |
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 | |
---|---|---|
Aborted | Occurs when the delegate on the dispatcher queue associated with the current DispatcherOperation object is aborted. | |
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.