WalletManager.RequestStoreAsync 方法

定义

注意

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

请求应用的默认钱包存储的实例。

public:
 static IAsyncOperation<WalletItemStore ^> ^ RequestStoreAsync();
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<WalletItemStore> RequestStoreAsync();
/// [Windows.Foundation.Metadata.RemoteAsync]
/// [Windows.Foundation.Metadata.Deprecated("IWalletManagerStatics is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 917504, "Windows.Foundation.UniversalApiContract")]
 static IAsyncOperation<WalletItemStore> RequestStoreAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<WalletItemStore> RequestStoreAsync();
[Windows.Foundation.Metadata.RemoteAsync]
[Windows.Foundation.Metadata.Deprecated("IWalletManagerStatics is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 917504, "Windows.Foundation.UniversalApiContract")]
public static IAsyncOperation<WalletItemStore> RequestStoreAsync();
function requestStoreAsync()
Public Shared Function RequestStoreAsync () As IAsyncOperation(Of WalletItemStore)

返回

一个异步操作,在成功完成时返回默认钱包存储的实例。 如果使用 异步编程,则结果类型为单个 WalletItemStore 对象。

属性

适用于

另请参阅