Udostępnij za pośrednictwem


WalletItemStore.ClearAsync Method

Definition

Caution

The ApplicationModel.Wallet namespace is no longer supported, and will soon be deprecated. Developers are encouraged to avoid using this namespace.

Clears all app-owned wallet items from the wallet data store.

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

Returns

An asynchronous action. If you use Asynchronous programming, the result type is void.

Attributes

Applies to

See also