共用方式為


DispatcherQueue.FrameworkShutdownCompleted 事件

定義

呼叫 ShutdownQueueShutdownQueueAsync 時引發。 如需引發之事件的完整清單,以及依何種順序,請參閱 ShutdownQueueAsync的。

// Register
event_token FrameworkShutdownCompleted(TypedEventHandler<DispatcherQueue, IInspectable const&> const& handler) const;

// Revoke with event_token
void FrameworkShutdownCompleted(event_token const* cookie) const;

// Revoke with event_revoker
DispatcherQueue::FrameworkShutdownCompleted_revoker FrameworkShutdownCompleted(auto_revoke_t, TypedEventHandler<DispatcherQueue, IInspectable const&> const& handler) const;
public event TypedEventHandler<DispatcherQueue,object> FrameworkShutdownCompleted;
function onFrameworkShutdownCompleted(eventArgs) { /* Your code */ }
dispatcherQueue.addEventListener("frameworkshutdowncompleted", onFrameworkShutdownCompleted);
dispatcherQueue.removeEventListener("frameworkshutdowncompleted", onFrameworkShutdownCompleted);
- or -
dispatcherQueue.onframeworkshutdowncompleted = onFrameworkShutdownCompleted;
Public Custom Event FrameworkShutdownCompleted As TypedEventHandler(Of DispatcherQueue, Object) 

事件類型

適用於