Dispatcher.HasShutdownStarted Dispatcher.HasShutdownStarted Dispatcher.HasShutdownStarted Dispatcher.HasShutdownStarted Property

Definición

Determina si Dispatcher se está cerrando.Determines whether the Dispatcher is shutting down.

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

Valor de propiedad

Es true si Dispatcher se ha empezado a cerrar; de lo contrario, es false.true if the Dispatcher has started 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 apaga por completo hasta que se desenrede la cola de eventos.The Dispatcher does not shut down 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