SecureElementReader.RegisterSecureElementItemAsync Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Registers an ISecureElementItem with the Secure Element.
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
'Declaration Public Sub RegisterSecureElementItemAsync ( _ item As ISecureElementItem, _ serviceId As Byte() _ )
Parameters
- item
- Type: Microsoft.Phone.SecureElement.ISecureElementItem
The item to register.
- serviceId
- Type:
System.Byte
()
The service ID used by provisioning.
| Exception | Condition |
|---|---|
| ArgumentNullException | Item is not a WalletItem. |
| InvalidOperationException | Item is not saved in the wallet. -or- No Secure Element is present on the phone. |
Show: