Dispatcher.HasShutdownFinished Property

Definition

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

Property Value

Boolean

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

Remarks

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

El 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 evento ShutdownFinished y la propiedad HasShutdownFinished 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.

Applies to