Bagikan melalui


BarcodeScannerStopSoftwareTriggerRequest Kelas

Definisi

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

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

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