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)

public void RegisterSecureElementItemAsync(
	ISecureElementItem item,
	byte[] serviceId
)

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:
© 2016 Microsoft