Dispatcher.ShutdownFinished Evento

Definizione

Si verifica quando Dispatcher termina l'arresto.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 evento

EventHandler

Commenti

Quando viene avviato il processo di arresto di un oggetto Dispatcher , l' ShutdownStarted evento viene generato e HasShutdownStarted impostato su true .When the shutdown process of a Dispatcher is started, 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

Vedi anche