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)

Syntax

Public Property TransactionAmount As String
public string TransactionAmount { get; set; }

Property Value

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

Remarks

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.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0

See Also

Reference

UserActionEventArgs Class

Microsoft.Phone.SecureElement Namespace