共用方式為


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 引進)

備註

當您實作事件處理常式以在ActivationKindWalletAction時回應Activated事件的事件處理常式時,您可以存取 WalletActionActivatedEventArgs 物件。

屬性

ActionId

取得動作的識別碼,例如動詞的識別碼、交易等等。

ActionKind

取得 在 WalletItem上執行的動作。

ItemId

取得使用者執行動作的 WalletItem 識別碼。

Kind

取得 在 WalletItem上執行的動作類型。

PreviousExecutionState

取得應用程式啟動前的執行狀態。

SplashScreen

取得啟動顯示畫面物件,提供從啟動顯示畫面轉換至啟動應用程式的相關資訊。

適用於

另請參閱