RegisterSecureElementItemAsync Method
Collapse the table of content
Expand the table of content

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.

Namespace:  Microsoft.Phone.SecureElement
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.

ExceptionCondition
ArgumentNullException

Item is not a WalletItem.

InvalidOperationException

Item is not saved in the wallet.

-or-

No Secure Element is present on the phone.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft