SmartCardTrigger 类

定义

表示由智能卡触发的事件。

public ref class SmartCardTrigger sealed : IBackgroundTrigger
/// [Windows.Foundation.Metadata.Activatable(Windows.ApplicationModel.Background.ISmartCardTriggerFactory, 65536, Windows.Devices.SmartCards.SmartCardBackgroundTriggerContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Devices.SmartCards.SmartCardBackgroundTriggerContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.MTA)]
class SmartCardTrigger final : IBackgroundTrigger
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Devices.SmartCards.SmartCardBackgroundTriggerContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.MTA)]
/// [Windows.Foundation.Metadata.Activatable(Windows.ApplicationModel.Background.ISmartCardTriggerFactory, 65536, "Windows.Devices.SmartCards.SmartCardBackgroundTriggerContract")]
class SmartCardTrigger final : IBackgroundTrigger
[Windows.Foundation.Metadata.Activatable(typeof(Windows.ApplicationModel.Background.ISmartCardTriggerFactory), 65536, typeof(Windows.Devices.SmartCards.SmartCardBackgroundTriggerContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Devices.SmartCards.SmartCardBackgroundTriggerContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.MTA)]
public sealed class SmartCardTrigger : IBackgroundTrigger
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Devices.SmartCards.SmartCardBackgroundTriggerContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.MTA)]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.ApplicationModel.Background.ISmartCardTriggerFactory), 65536, "Windows.Devices.SmartCards.SmartCardBackgroundTriggerContract")]
public sealed class SmartCardTrigger : IBackgroundTrigger
function SmartCardTrigger(triggerType)
Public NotInheritable Class SmartCardTrigger
Implements IBackgroundTrigger
继承
Object IInspectable SmartCardTrigger
属性
实现

Windows 要求

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

构造函数

SmartCardTrigger(SmartCardTriggerType)

初始化 SmartCardTrigger 的新实例

属性

TriggerType

获取智能卡触发器的触发器类型。

适用于

另请参阅