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
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
Property Value
Type: System.Int32The 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.”