Delen via


WalletActionActivatedEventArgs Class

Definition

Caution

The Activation.WalletActionActivatedEventArgs class is no longer supported, and will soon be deprecated. Developers are encouraged to avoid using this namespace.

Provides information to an app that was launched as the result of a wallet action.

public ref class WalletActionActivatedEventArgs sealed : IActivatedEventArgs, IWalletActionActivatedEventArgs
/// [Windows.Foundation.Metadata.ContractVersion(Windows.ApplicationModel.Wallet.WalletContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class WalletActionActivatedEventArgs final : IActivatedEventArgs, IWalletActionActivatedEventArgs
/// [Windows.Foundation.Metadata.ContractVersion(Windows.ApplicationModel.Wallet.WalletContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Deprecated("WalletActionActivatedEventArgs is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 131072, "Windows.ApplicationModel.Wallet.WalletContract")]
class WalletActionActivatedEventArgs final : IActivatedEventArgs, IWalletActionActivatedEventArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.ApplicationModel.Wallet.WalletContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class WalletActionActivatedEventArgs : IActivatedEventArgs, IWalletActionActivatedEventArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.ApplicationModel.Wallet.WalletContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Deprecated("WalletActionActivatedEventArgs is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 131072, "Windows.ApplicationModel.Wallet.WalletContract")]
public sealed class WalletActionActivatedEventArgs : IActivatedEventArgs, IWalletActionActivatedEventArgs
Public NotInheritable Class WalletActionActivatedEventArgs
Implements IActivatedEventArgs, IWalletActionActivatedEventArgs
Inheritance
Object Platform::Object IInspectable WalletActionActivatedEventArgs
Attributes
Implements

Windows requirements

Device family
Windows Desktop Extension SDK (introduced in 10.0.10240.0)
Windows Mobile Extension SDK (introduced in 10.0.10240.0)
API contract
Windows.ApplicationModel.Wallet.WalletContract (introduced in v1.0)

Remarks

You access a WalletActionActivatedEventArgs object when you implement an event handler that responds to Activated events when ActivationKind is WalletAction.

Properties

ActionId

Gets the ID of the action, such as the id of the verb, transaction and so on.

ActionKind

Gets the action that was performed on the WalletItem.

ItemId

Gets the ID of the WalletItem on which the user performed the action.

Kind

Gets the type of action that was performed on the WalletItem.

PreviousExecutionState

Gets the execution state of the app before it was activated.

SplashScreen

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

Applies to

See also