Dispatcher.ShutdownFinished Evento

Definición

Se produce cuando Dispatcher termina de cerrarse.Occurs when the Dispatcher finishes shutting down.

public:
 event EventHandler ^ ShutdownFinished;
public event EventHandler ShutdownFinished;
member this.ShutdownFinished : EventHandler 
Public Custom Event ShutdownFinished As EventHandler 
Public Event ShutdownFinished As EventHandler 

Tipo de evento

EventHandler

Comentarios

Cuando se inicia el proceso de cierre de un Dispatcher , se ShutdownStarted genera el evento y HasShutdownStarted se establece en true .When the shutdown process of a Dispatcher is started, the ShutdownStarted event is raised and HasShutdownStarted is set to true.

No se Dispatcher cierra completamente hasta que no se desenreda la cola de eventos.The Dispatcher does not shutdown completely until the event queue unwinds.

Cuando el distribuidor termina de cerrarse, ShutdownFinished se genera el evento y la HasShutdownFinished propiedad se establece en true .When the Dispatcher finishes shutting down, the ShutdownFinished event is raised and the HasShutdownFinished property is set to true.

Una vez que se inicia el proceso de cierre, se anulan todos los elementos de trabajo pendientes de la cola.Once the shutdown process begins, all pending work items in the queue are aborted.

Se aplica a

Consulte también