Udostępnij za pośrednictwem


WalletActionKind Enum

Definition

Caution

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

Represents the action that was taken on the item that caused your app to launch.

public enum class WalletActionKind
/// [Windows.Foundation.Metadata.ContractVersion(Windows.ApplicationModel.Wallet.WalletContract, 65536)]
enum class WalletActionKind
/// [Windows.Foundation.Metadata.ContractVersion(Windows.ApplicationModel.Wallet.WalletContract, 65536)]
/// [Windows.Foundation.Metadata.Deprecated("WalletActionKind is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 131072, "Windows.ApplicationModel.Wallet.WalletContract")]
enum class WalletActionKind
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.ApplicationModel.Wallet.WalletContract), 65536)]
public enum WalletActionKind
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.ApplicationModel.Wallet.WalletContract), 65536)]
[Windows.Foundation.Metadata.Deprecated("WalletActionKind 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 enum WalletActionKind
var value = Windows.ApplicationModel.Wallet.WalletActionKind.openItem
Public Enum WalletActionKind
Inheritance
WalletActionKind
Attributes

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)

Fields

Name Value Description
OpenItem 0

The item was opened.

Transaction 1

A transaction was tapped.

MoreTransactions 2

The UI item "see more transactions" was tapped.

Message 3

A message was tapped.

Verb 4

A verb was tapped.

Remarks

When your app is launched as a result of an action on an item in Wallet, the OnActivated event handler in your app is called. The Kind value in the IActivatedEventArgs data is WalletAction. To access the information specific to wallet activation, cast the IActivatedEventArgs to WalletActionActivatedEventArgs.

Applies to

See also