SmartCardEmulatorConnectionDeactivatedReason 枚举

定义

定义与 NFC 读卡器的智能卡连接可能停用的原因。

public enum class SmartCardEmulatorConnectionDeactivatedReason
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Devices.SmartCards.SmartCardEmulatorContract, 65536)]
enum class SmartCardEmulatorConnectionDeactivatedReason
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Devices.SmartCards.SmartCardEmulatorContract), 65536)]
public enum SmartCardEmulatorConnectionDeactivatedReason
var value = Windows.Devices.SmartCards.SmartCardEmulatorConnectionDeactivatedReason.connectionLost
Public Enum SmartCardEmulatorConnectionDeactivatedReason
继承
SmartCardEmulatorConnectionDeactivatedReason
属性

Windows 要求

设备系列
Windows Mobile Extension SDK (在 10.0.10240.0 中引入)
API contract
Windows.Devices.SmartCards.SmartCardEmulatorContract (在 v1.0 中引入)

字段

ConnectionLost 0

与读取器的物理连接丢失。

ConnectionRedirected 1

由于读取器终端选择了解析为不同应用的不同应用程序标识符,因此连接重定向到另一个应用。

适用于

另请参阅