Wallet Class

Wallet Class

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Provides an app access to its Wallet items.


Namespace:  Microsoft.Phone.Wallet
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)

public static class Wallet

The Wallet type exposes the following members.

Public methodStatic memberClearDeletes all items owned by your app from the wallet.
Public methodStatic memberFindItemSearches for a wallet item with the specified Id.
Public methodStatic memberGetItemsAsyncAsynchronously retrieves a list of all wallet items owned by your app.
Public methodStatic memberRemove(String)Deletes the wallet item with the given ID from wallet.
Public methodStatic memberRemove(WalletItem)Deletes the specified wallet item from the wallet.


If you use this API in your app, you must specify the following capabilities in the app manifest. Otherwise, your app might not work correctly or it might exit unexpectedly.


Windows Phone 8

For more info, see App capabilities and hardware requirements for Windows Phone 8.

Windows Phone OS

Supported in: 8.1, 8.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

© 2017 Microsoft