Wallet Class

May 11, 2014

Provides an app access to its Wallet items.

System.Object
  Microsoft.Phone.Wallet.Wallet

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

'Declaration
Public NotInheritable Class Wallet

The Wallet type exposes the following members.

  NameDescription
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.
Top

Capabilities

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.

ID_CAP_WALLET

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.

Show:
© 2014 Microsoft