Export (0) Print
Expand All
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Wallet.GetItemsAsync Method

July 28, 2014

Asynchronously retrieves a list of all wallet items owned by your app.

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

public static Task<WalletItemCollection> GetItemsAsync()

Return Value

Type: System.Threading.Tasks.Task<WalletItemCollection>
The asynchronous operation that returns the list of wallet items.

When the asynchronous retrieval operation finishes successfully, it returns a list of your wallet items.

When adding a new item to this collection, make sure you have set the required properties for the item. If these are not set, you will receive an InvalidOperationException. The following table lists the required fields for each wallet item type.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2014 Microsoft