WalletItemSystemStore.LaunchAppForItemAsync(WalletItem) 方法

定义

启动与给定钱包项关联的应用。

注意

此 API 并非适用于所有 Windows 应用。 除非你的开发人员帐户由 Microsoft 专门预配,否则对这些 API 的调用将在运行时失败。

public:
 virtual IAsyncOperation<bool> ^ LaunchAppForItemAsync(WalletItem ^ item) = LaunchAppForItemAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<bool> LaunchAppForItemAsync(WalletItem const& item);
/// [Windows.Foundation.Metadata.RemoteAsync]
/// [Windows.Foundation.Metadata.Deprecated("IWalletItemSystemStore is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 917504, "Windows.Foundation.UniversalApiContract")]
IAsyncOperation<bool> LaunchAppForItemAsync(WalletItem const& item);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<bool> LaunchAppForItemAsync(WalletItem item);
[Windows.Foundation.Metadata.RemoteAsync]
[Windows.Foundation.Metadata.Deprecated("IWalletItemSystemStore is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 917504, "Windows.Foundation.UniversalApiContract")]
public IAsyncOperation<bool> LaunchAppForItemAsync(WalletItem item);
function launchAppForItemAsync(item)
Public Function LaunchAppForItemAsync (item As WalletItem) As IAsyncOperation(Of Boolean)

参数

item
WalletItem

要启动应用的钱包项。

返回

指示操作已完成的异步操作。

属性

Windows 要求

应用功能
walletSystem

适用于