共用方式為


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 物件。

屬性

適用於

另請參閱