Share via


WalletItemSystemStore.DeleteAsync(WalletItem) Method

Definition

Asynchronously removes a specific wallet item with the given ID from the wallet system data store.

Note

This API is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to these APIs will fail at runtime.

public:
 virtual IAsyncAction ^ DeleteAsync(WalletItem ^ item) = DeleteAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction DeleteAsync(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")]
IAsyncAction DeleteAsync(WalletItem const& item);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction DeleteAsync(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 IAsyncAction DeleteAsync(WalletItem item);
function deleteAsync(item)
Public Function DeleteAsync (item As WalletItem) As IAsyncAction

Parameters

item
WalletItem

The ID of the wallet item to remove from the system data store.

Returns

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

Attributes

Windows requirements

App capabilities
walletSystem

Applies to