Share via


DispatcherQueue.FrameworkShutdownStarting イベント

定義

ShutdownQueue または ShutdownQueueAsync が呼び出されたときに発生します。 発生したイベントの完全な一覧と順序については、「 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) 

イベントの種類

適用対象