共用方式為


BarcodeScannerSetSymbologyAttributesRequest 類別

定義

表示設定條碼符號系統屬性的要求。

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

Windows 需求

裝置系列
Windows 10, version 1803 (已於 10.0.17134.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v6.0 引進)

備註

系統會產生這個類別的實例,並將它設定為 SetBarcodeSymbologyAttributesRequestEventArgs 引數的 BarcodeScannerSetSymbologyAttributesRequested 事件中的屬性。

版本歷程記錄

Windows 版本 SDK 版本 已新增值
1809 17763 ReportFailedAsync (Int32)
1809 17763 ReportFailedAsync (Int32,String)

屬性

Attributes

取得條碼符號系統的屬性。

Symbology

取得要設定其屬性的條碼符號系統。

方法

ReportCompletedAsync()

通知用戶端應用程式已成功處理要求。

ReportFailedAsync()

通知用戶端未成功處理要求。

ReportFailedAsync(Int32, String)

通知用戶端未成功處理要求。

ReportFailedAsync(Int32)

通知用戶端未成功處理要求。

適用於