Result Property
Collapse the table of content
Expand the table of content

RegisterSecureElementItemEventArgs.Result Property

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

Gets the registration result. A value of 0 indicates successful registration of the wallet item with the Secure Element. The wallet item’s LastKnownAppletState is Init. A value other than 0 indicates registration failure and the wallet item’s LastKnownAppletState is. None

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

'Declaration
Public Property Result As Integer

Property Value

Type: System.Int32
The result of the registration attempt. Success if this value is 0; Otherwise, failure.

One reason registration can fail is if the phone is currently roaming. For this reason, it is recommended that you respond to the user to let them know this is the possible cause of the failure. For example, “We ran into a problem setting up your card for secure payments. Please ensure that you're on a cellular network, not roaming, and then try again.”

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft