Dela via


SmartCardTrigger Class

Definition

Represents an event triggered by a smart card.

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
Inheritance
Object Platform::Object IInspectable SmartCardTrigger
Attributes
Implements

Windows requirements

Device family
Windows Mobile Extension SDK (introduced in 10.0.10240.0)
API contract
Windows.Devices.SmartCards.SmartCardBackgroundTriggerContract (introduced in v1.0)

Constructors

SmartCardTrigger(SmartCardTriggerType)

Initializes a new instance of a SmartCardTrigger

Properties

TriggerType

Gets the trigger type of a smart card trigger.

Applies to

See also