ToastActivatedEventArgs class

ToastActivatedEventArgs class

Exposes a method that retrieves the arguments associated with a toast action initiated by the user. This lets the app tell which action was taken when multiple actions were exposed.

Syntax


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

Members

The ToastActivatedEventArgs class has these types of members:

Properties

The ToastActivatedEventArgs class has these properties.

PropertyAccess typeDescription

Arguments

Read-only

Gets the arguments associated with a toast action initiated by the user. This arguments string was included in the toast's XML payload.

 

Remarks

This object is provided to an event handler when a ToastNotification.Activated event is raised.

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0 [for Xbox, see UWP features that aren't yet supported on Xbox]

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

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

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8.1 [Windows Store apps, desktop apps]

Minimum supported server

Windows Server 2012 R2 [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

Attributes

[DualApiPartition()]
[MarshalingBehavior(Standard)]
[Version(0x06030000)]

See also

Object

 

 

Show:
© 2016 Microsoft