WalletActionActivatedEventArgs 类

定义

注意

Activation.WalletActionActivatedEventArgs 类不再受支持,不久将弃用。 建议开发人员避免使用此命名空间。

向由于钱包操作而启动的应用提供信息。

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
继承
Object Platform::Object IInspectable WalletActionActivatedEventArgs
属性
实现

Windows 要求

设备系列
Windows Desktop Extension SDK (在 10.0.10240.0 中引入)
Windows Mobile Extension SDK (在 10.0.10240.0 中引入)
API contract
Windows.ApplicationModel.Wallet.WalletContract (在 v1.0 中引入)

注解

当实现响应 ActivationKind 为 WalletAction 的 Activated 事件的事件处理程序时,可以访问 WalletActionActivatedEventArgs 对象。

属性

ActionId

获取操作的 ID,例如谓词的 ID、事务等。

ActionKind

获取对 WalletItem 执行的操作。

ItemId

获取用户对其执行操作的 WalletItem 的 ID。

Kind

获取对 WalletItem 执行的操作的类型。

PreviousExecutionState

获取激活前的应用的执行状态。

SplashScreen

获取初始屏幕对象,该对象提供有关从初始屏幕到激活应用转换的信息。

适用于

另请参阅