Dispatcher.HasShutdownFinished Dispatcher.HasShutdownFinished Dispatcher.HasShutdownFinished Dispatcher.HasShutdownFinished Property

Definición

Determina si Dispatcher ha terminado de cerrarse.Determines whether the Dispatcher has finished shutting down.

public:
 property bool HasShutdownFinished { bool get(); };
public bool HasShutdownFinished { get; }
member this.HasShutdownFinished : bool
Public ReadOnly Property HasShutdownFinished As Boolean

Valor de propiedad

Es true si el distribuidor ha terminado de cerrarse; de lo contrario, es false.true if the dispatcher has finished shutting down; otherwise, false.

Comentarios

Cuando empieza a cerrarse, se genera ShutdownStarted el evento y HasShutdownStarted se establece en true. DispatcherWhen the Dispatcher starts to shut down, the ShutdownStarted event is raised and HasShutdownStarted is set to true.

Dispatcher No se 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, se genera el ShutdownFinished 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