Skip to main content
ToastDismissedEventArgs class

Applies to Windows and Windows Phone

Provides the reason that a toast notification is no longer displayed on-screen.

Syntax


/* For information about creating or accessing this object, see Remarks. */

public sealed class ToastDismissedEventArgs

Public NotInheritable Class ToastDismissedEventArgs

public ref class ToastDismissedEventArgs sealed 

Attributes

[ DualApiPartition()]
[ Version(0x06020000)]

Members

The ToastDismissedEventArgs class has these types of members:

Properties

The ToastDismissedEventArgs class has these properties.

PropertyAccess typeDescription

Reason

Read-onlyGets the reason that a toast notification is no longer displayed on-screen.

 

Remarks

Your app receives this class when processing the ToastNotification.Dismissed event.

Requirements

Minimum supported client

Windows 8 [Windows Store apps, desktop apps]

Minimum supported server

Windows Server 2012 [Windows Store apps, desktop apps]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.UI.Notifications
Windows::UI::Notifications [C++]

Metadata

Windows.winmd

See also

Toast notifications sample
Sending toast notifications from desktop apps sample
Toast XML schema
Toast notification overview
Quickstart: Sending a toast notification
Quickstart: Sending a toast push notification
Quickstart: Sending a toast notification from the desktop
Guidelines and checklist for toast notifications
How to handle activation from a toast notification
How to opt in for toast notifications
How to schedule a toast notification
How to enable desktop toast notifications through an AppUserModelID
The toast template catalog
Toast audio options