Udostępnij za pośrednictwem


WebUIToastNotificationActivatedEventArgs Class

Definition

Provides information about an event that occurs when the app is activated because a user tapped on the body of a toast notification or performed an action inside a toast notification.

public ref class WebUIToastNotificationActivatedEventArgs sealed : IToastNotificationActivatedEventArgs, IActivatedEventArgsDeferral
public ref class WebUIToastNotificationActivatedEventArgs sealed : IActivatedEventArgsWithUser, IToastNotificationActivatedEventArgs, IActivatedEventArgsDeferral
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
class WebUIToastNotificationActivatedEventArgs final : IToastNotificationActivatedEventArgs, IActivatedEventArgsDeferral
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
class WebUIToastNotificationActivatedEventArgs final : IActivatedEventArgsWithUser, IToastNotificationActivatedEventArgs, IActivatedEventArgsDeferral
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
public sealed class WebUIToastNotificationActivatedEventArgs : IToastNotificationActivatedEventArgs, IActivatedEventArgsDeferral
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
public sealed class WebUIToastNotificationActivatedEventArgs : IActivatedEventArgsWithUser, IToastNotificationActivatedEventArgs, IActivatedEventArgsDeferral
Public NotInheritable Class WebUIToastNotificationActivatedEventArgs
Implements IActivatedEventArgsDeferral, IToastNotificationActivatedEventArgs
Public NotInheritable Class WebUIToastNotificationActivatedEventArgs
Implements IActivatedEventArgsDeferral, IActivatedEventArgsWithUser, IToastNotificationActivatedEventArgs
Inheritance
Object Platform::Object IInspectable WebUIToastNotificationActivatedEventArgs
Attributes
Implements

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Remarks

Version history

Windows version SDK version Value added
1607 14393 User

Properties

ActivatedOperation

Gets the app activation operation.

Argument

Gets the arguments that the app can retrieve after it is activated through an interactive toast notification.

Kind

Gets the kind of activation.

PreviousExecutionState

Gets the previous execution state of the app.

SplashScreen

Gets the splash screen object that provides information about the transition from the splash screen to the activated app.

User

Gets the user that the app was activated for.

UserInput

Gets a set of values that you can use to obtain the user input from an interactive toast notification.

Applies to

See also