Share via


DispatcherObject Class

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

Represents an object that is associated with a dispatcher.

Inheritance Hierarchy

System. . :: . .Object
  Microsoft.SPOT..::..DispatcherObject
    Microsoft.SPOT. . :: . .Application
    Microsoft.SPOT.Input. . :: . .InputDevice
    Microsoft.SPOT.Input. . :: . .InputManager
    Microsoft.SPOT.Input. . :: . .InputManager. . :: . .DeviceEvents
    Microsoft.SPOT.Presentation.Media. . :: . .DrawingContext
    Microsoft.SPOT.Presentation. . :: . .PresentationSource
    Microsoft.SPOT.Presentation. . :: . .UIElement

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

Syntax

'Declaration
Public MustInherit Class DispatcherObject
public abstract class DispatcherObject
public ref class DispatcherObject abstract
[<AbstractClass>]
type DispatcherObject =  class end
public abstract class DispatcherObject

The DispatcherObject type exposes the following members.

Constructors

  Name Description
Protected method DispatcherObject Initializes a new instance of the DispatcherObject class.

Top

Methods

  Name Description
Public method CheckAccess Determines whether the calling thread has access to the current DispatcherObject object.
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (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.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method VerifyAccess Determines whether the calling thread has access to the current DispatcherObject object.

Top

Fields

  Name Description
Public field Dispatcher Contains the Dispatcher object that the current DispatcherObject object is associated with.

Top

Remarks

Subclasses of the DispatcherObject class should enforce thread safety by calling the VerifyAccess method in all of their public methods. This guarantees that the calling thread is the thread on which the current DispatcherObject object was created.

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