TransactionAmount Property
Collapse the table of content
Expand the table of content

UserActionEventArgs.TransactionAmount Property

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

Gets or sets the string that indicates that the transaction was successful.

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

'Declaration
Public Property TransactionAmount As String

Property Value

Type: System.String
The string that indicates that the transaction was successful.

If the result of the action on the wallet item was successful, one of the following three things will happen based on the value of this string:

  • If the TransactionAmount string is null or empty, a generic toast of the form used <card name> is displayed.

  • If the TransactionAmount is set, and the length of this string is less than 64 characters, a toast of the form <transaction amount> on <card name> is displayed.

  • If the TransactionAmount is set, and the length of this string is greater 64 characters, no toast is displayed.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft