Bagikan melalui


BarcodeScannerGetSymbologyAttributesRequest Kelas

Definisi

Mewakili permintaan untuk mendapatkan atribut simpatisan kode batang.

public ref class BarcodeScannerGetSymbologyAttributesRequest 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 BarcodeScannerGetSymbologyAttributesRequest final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 393216)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class BarcodeScannerGetSymbologyAttributesRequest 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 BarcodeScannerGetSymbologyAttributesRequest
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 393216)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class BarcodeScannerGetSymbologyAttributesRequest
Public NotInheritable Class BarcodeScannerGetSymbologyAttributesRequest
Warisan
Object Platform::Object IInspectable BarcodeScannerGetSymbologyAttributesRequest
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 menetapkannya sebagai properti di argumen BarcodeScannerGetSymbologyAttributesRequestEventArgs dari peristiwa GetBarcodeSymbologyAttributesRequested.

Riwayat versi

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

Properti

Symbology

Mendapatkan simpatisan kode batang. Nilai yang mungkin ditentukan di kelas BarcodeSymbologies .

Metode

ReportCompletedAsync(BarcodeSymbologyAttributes)

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