Export (0) Print
Expand All

Dispatcher Members

Provides services for managing the queue of work items for a thread. This class cannot be inherited.

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

  Name Description
Public property Static CurrentDispatcher Gets the Dispatcher for the thread currently executing and creates a new Dispatcher if one is not already associated with the thread.
Public property HasShutdownFinished Determines whether the Dispatcher has finished shutting down.
Public property HasShutdownStarted Determines whether the Dispatcher is shutting down.
Public property Hooks Gets the collection of hooks which provide additional event information about the Dispatcher.
Public property Thread Gets the thread this Dispatcher is associated with.
Top

(see also Protected Methods )
  Name Description
Public method BeginInvoke Overloaded. Executes a delegate asynchronously on the thread the Dispatcher is associated with.
Public method BeginInvokeShutdown Initiates shutdown of the Dispatcher asynchronously.
Public method CheckAccess Determines whether the calling thread is the thread associated with this Dispatcher.
Public method DisableProcessing Disables processing of the Dispatcher queue.
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method Static ExitAllFrames Requests that all frames exit, including nested frames.
Public method Static FromThread Gets the Dispatcher for the specified thread.
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 Invoke Overloaded. Executes the specified delegate synchronously on the thread the Dispatcher is associated with.
Public method InvokeShutdown Initiates the shutdown process of the Dispatcher synchronously.
Public method Static PushFrame Enters an execute loop.
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Static Run Pushes the main execution frame on the event queue of the Dispatcher.
Public method ToString  Returns a String that represents the current Object. (inherited from Object)
Public method Static ValidatePriority Determines whether the specified DispatcherPriority is a valid priority.
Public method VerifyAccess Determines whether the calling thread has access to this Dispatcher.
Top

  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Top

  Name Description
Public event ShutdownFinished Occurs when the Dispatcher finishes shutting down.
Public event ShutdownStarted Occurs when the Dispatcher beings to shut down.
Public event UnhandledException Occurs when a thread exception is thrown and uncaught during execution of a delegate by way of Invoke or BeginInvoke.
Public event UnhandledExceptionFilter Occurs when a thread exception is thrown and uncaught during execution of a delegate by way of Invoke or BeginInvoke when in the filter stage.
Top

Community Additions

ADD
Show:
© 2014 Microsoft