Bagikan melalui


BarcodeScannerStartSoftwareTriggerRequest Kelas

Definisi

Mewakili permintaan untuk memberi sinyal pemindai kode batang untuk mulai memindai.

public ref class BarcodeScannerStartSoftwareTriggerRequest 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 BarcodeScannerStartSoftwareTriggerRequest final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 393216)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class BarcodeScannerStartSoftwareTriggerRequest 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 BarcodeScannerStartSoftwareTriggerRequest
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 393216)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class BarcodeScannerStartSoftwareTriggerRequest
Public NotInheritable Class BarcodeScannerStartSoftwareTriggerRequest
Warisan
Object Platform::Object IInspectable BarcodeScannerStartSoftwareTriggerRequest
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

Sistem menghasilkan instans kelas ini dan mengaturnya sebagai properti di argumen BarcodeScannerStartSoftwareTriggerRequestEventArgs dari peristiwa StartSoftwareTriggerRequested.

Riwayat versi

Versi Windows Versi SDK Nilai ditambahkan
1809 17763 ReportFailedAsync(Int32)
1809 17763 ReportFailedAsync(Int32,String)

Metode

ReportCompletedAsync()

Memberi tahu aplikasi klien bahwa permintaan berhasil diproses.

ReportFailedAsync()

Memberi tahu klien bahwa permintaan tidak berhasil diproses.

ReportFailedAsync(Int32, String)

Memberi tahu klien bahwa permintaan tidak berhasil diproses.

ReportFailedAsync(Int32)

Memberi tahu klien bahwa permintaan tidak berhasil diproses.

Berlaku untuk