ToastNotificationManagerForUser.NotificationModeChanged 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.
// Register
event_token NotificationModeChanged(TypedEventHandler<ToastNotificationManagerForUser, IInspectable const&> const& handler) const;
// Revoke with event_token
void NotificationModeChanged(event_token const* cookie) const;
// Revoke with event_revoker
ToastNotificationManagerForUser::NotificationModeChanged_revoker NotificationModeChanged(auto_revoke_t, TypedEventHandler<ToastNotificationManagerForUser, IInspectable const&> const& handler) const;
public event TypedEventHandler<ToastNotificationManagerForUser,object> NotificationModeChanged;
function onNotificationModeChanged(eventArgs) { /* Your code */ }
toastNotificationManagerForUser.addEventListener("notificationmodechanged", onNotificationModeChanged);
toastNotificationManagerForUser.removeEventListener("notificationmodechanged", onNotificationModeChanged);
- or -
toastNotificationManagerForUser.onnotificationmodechanged = onNotificationModeChanged;
Public Custom Event NotificationModeChanged As TypedEventHandler(Of ToastNotificationManagerForUser, Object)
Event Type
TypedEventHandler<ToastNotificationManagerForUser,IInspectable>