DispatcherQueue.FrameworkShutdownStarting Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Raised when either ShutdownQueue or ShutdownQueueAsync is called. For a full list of the events raised, and in what order, see the Remarks for 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)