Bagikan melalui


BarcodeScannerProviderTriggerDetails Kelas

Definisi

Mewakili informasi pemicu tentang tugas latar belakang pemindai kode batang, di mana data akan ditransfer antara aplikasi dan pemanggilnya.

public ref class BarcodeScannerProviderTriggerDetails sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 393216)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class BarcodeScannerProviderTriggerDetails final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 393216)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class BarcodeScannerProviderTriggerDetails final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 393216)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class BarcodeScannerProviderTriggerDetails
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 393216)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class BarcodeScannerProviderTriggerDetails
Public NotInheritable Class BarcodeScannerProviderTriggerDetails
Warisan
Object Platform::Object IInspectable BarcodeScannerProviderTriggerDetails
Atribut

Persyaratan Windows

Rangkaian perangkat
Windows 10, version 1803 (diperkenalkan dalam 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (diperkenalkan dalam v6.0)

Keterangan

Kode tugas latar belakang diteruskan dalam instans kelas ini melalui properti IBackgroundTaskInstance.TriggerDetails.

Properti

Connection

Mendapatkan objek koneksi yang digunakan untuk menyediakan pemindaian kode batang ke aplikasi klien.

Berlaku untuk