DispatcherQueue.FrameworkShutdownStarting Evento
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Generato quando viene chiamato ShutdownQueue o ShutdownQueueAsync . Per un elenco completo degli eventi generati e in quale ordine, vedere la sezione Osservazioni per ShutdownQueueAsync.
// Register
event_token FrameworkShutdownStarting(TypedEventHandler<DispatcherQueue, DispatcherQueueShutdownStartingEventArgs const&> const& handler) const;
// Revoke with event_token
void FrameworkShutdownStarting(event_token const* cookie) const;
// Revoke with event_revoker
DispatcherQueue::FrameworkShutdownStarting_revoker FrameworkShutdownStarting(auto_revoke_t, TypedEventHandler<DispatcherQueue, DispatcherQueueShutdownStartingEventArgs const&> const& handler) const;
public event TypedEventHandler<DispatcherQueue,DispatcherQueueShutdownStartingEventArgs> FrameworkShutdownStarting;
function onFrameworkShutdownStarting(eventArgs) { /* Your code */ }
dispatcherQueue.addEventListener("frameworkshutdownstarting", onFrameworkShutdownStarting);
dispatcherQueue.removeEventListener("frameworkshutdownstarting", onFrameworkShutdownStarting);
- or -
dispatcherQueue.onframeworkshutdownstarting = onFrameworkShutdownStarting;
Public Custom Event FrameworkShutdownStarting As TypedEventHandler(Of DispatcherQueue, DispatcherQueueShutdownStartingEventArgs)