BarcodeScannerGetSymbologyAttributesRequest Class

Definition

Represents the request to get attributes of a barcode symbology.

C#
[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
C#
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 393216)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class BarcodeScannerGetSymbologyAttributesRequest
Inheritance
Object BarcodeScannerGetSymbologyAttributesRequest
Attributes

Windows requirements

Device family
Windows 10, version 1803 (introduced in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v6.0)

Remarks

The system generates an instance of this class and sets it as a property in the BarcodeScannerGetSymbologyAttributesRequestEventArgs argument of the GetBarcodeSymbologyAttributesRequested event.

Version history

Windows version SDK version Value added
1809 17763 ReportFailedAsync(Int32)
1809 17763 ReportFailedAsync(Int32,String)

Properties

Symbology

Gets the barcode symbology. Possible values are defined in the BarcodeSymbologies class.

Methods

ReportCompletedAsync(BarcodeSymbologyAttributes)

Notifies the client app that the request was processed successfully.

ReportFailedAsync()

Notifies the client that the request was not processed successfully.

ReportFailedAsync(Int32, String)

Notifies the client that the request was not processed successfully.

ReportFailedAsync(Int32)

Notifies the client that the request was not processed successfully.

Applies to

Product Versions
WinRT Build 17134, Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100