Share via


Dispatcher Members

The following tables list the members exposed by the Dispatcher type.

Public Properties

Name Description
Public Property Static CurrentDispatcher Gets the Dispatcher object (dispatcher) for the thread that is currently executing and creates a new dispatcher if one is not already associated with the current thread.
Public Property HasShutdownFinished Determines whether the current Dispatcher object (dispatcher) has finished shutting down.
Public Property HasShutdownStarted Determines whether the current Dispatcher object (dispatcher) is shutting down.
Public Property Thread Gets the thread with which the current Dispatcher object (dispatcher) is associated.

Public Methods

Name Description
Public Method BeginInvoke Executes a specified delegate on the thread on which a particular Dispatcher object (dispatcher) was created.
Public Method CheckAccess Determines whether the calling thread has access to the current Dispatcher object (dispatcher).
Public Method Equals (Inherited from Object.)
Public Method Static FromThread Gets the Dispatcher object (dispatcher) for a specified thread.
Public Method GetHashCode (Inherited from Object.)
Public Method GetType (Inherited from Object.)
Public Method Invoke Executes a specified delegate with a specified argument.
Public Method InvokeShutdown Initiates the shutdown process for a Dispatcher object (dispatcher) synchronously.
Public Method Static PushFrame Pushes an execution frame onto the event queue of a Dispatcher object (dispatcher).
Public Method ReferenceEquals (Inherited from Object.)
Public Method Static Run Initiates the event queue of a Dispatcher object (dispatcher).
Public Method ToString (Inherited from Object.)
Public Method VerifyAccess Determines whether the calling thread has access to the current Dispatcher object (dispatcher).

Protected Methods

Name Description
Protected Method Finalize (Inherited from Object.)
Protected Method MemberwiseClone (Inherited from Object.)

Public Events

Name Description
Public Event ShutdownFinished Occurs when a Dispatcher object (a dispatcher) finishes shutting down.
Public Event ShutdownStarted Occurs when a Dispatcher object (a dispatcher) begins the shutdown process.

See Also

Reference

Dispatcher Class
Microsoft.SPOT Namespace