Dispatcher.HasShutdownFinished Proprietà

Definizione

Determina se Dispatcher ha terminato l'arresto.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

Valore della proprietà

Boolean

true se il dispatcher ha concluso l'arresto, in caso contrario false.true if the dispatcher has finished shutting down; otherwise, false.

Commenti

Quando Dispatcher inizia ad arrestare, l' ShutdownStarted evento viene generato e HasShutdownStarted impostato su true .When the Dispatcher starts to shut down, the ShutdownStarted event is raised and HasShutdownStarted is set to true.

L'oggetto Dispatcher non viene arrestato completamente fino alla rimozione della coda degli eventi.The Dispatcher does not shutdown completely until the event queue unwinds.

Al termine dell'arresto del dispatcher, ShutdownFinished viene generato l'evento e la HasShutdownFinished proprietà viene impostata su true .When the Dispatcher finishes shutting down, the ShutdownFinished event is raised and the HasShutdownFinished property is set to true.

Una volta avviato il processo di arresto, tutti gli elementi di lavoro in sospeso nella coda vengono interrotti.Once the shutdown process begins, all pending work items in the queue are aborted.

Si applica a