WalletItemStore.ClearAsync 方法

定义

注意

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

从电子钱包数据存储中清除所有应用拥有的钱包项。

public:
 virtual IAsyncAction ^ ClearAsync() = ClearAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction ClearAsync();
/// [Windows.Foundation.Metadata.RemoteAsync]
/// [Windows.Foundation.Metadata.Deprecated("IWalletItemStore is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 917504, "Windows.Foundation.UniversalApiContract")]
IAsyncAction ClearAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction ClearAsync();
[Windows.Foundation.Metadata.RemoteAsync]
[Windows.Foundation.Metadata.Deprecated("IWalletItemStore is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 917504, "Windows.Foundation.UniversalApiContract")]
public IAsyncAction ClearAsync();
function clearAsync()
Public Function ClearAsync () As IAsyncAction

返回

异步操作。 如果使用 异步编程,则结果类型为 void

属性

适用于

另请参阅