BarcodeScannerDisableScannerRequest Класс

Определение

Представляет запрос на отключение сканера штрихкодов.

public ref class BarcodeScannerDisableScannerRequest 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 BarcodeScannerDisableScannerRequest final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 393216)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class BarcodeScannerDisableScannerRequest 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 BarcodeScannerDisableScannerRequest
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 393216)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class BarcodeScannerDisableScannerRequest
Public NotInheritable Class BarcodeScannerDisableScannerRequest
Наследование
Object Platform::Object IInspectable BarcodeScannerDisableScannerRequest
Атрибуты

Требования к Windows

Семейство устройств
Windows 10, version 1803 (появилось в 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (появилось в v6.0)

Комментарии

Система создает экземпляр этого класса и задает его как свойство в параметре BarcodeScannerDisableScannerRequestEventArgs события DisableScannerRequested.

Журнал версий

Версия Windows Версия пакета SDK Добавленная стоимость
1809 17763 ReportFailedAsync(Int32)
1809 17763 ReportFailedAsync(Int32;String)

Методы

ReportCompletedAsync()

Уведомляет клиентское приложение о том, что запрос был успешно обработан.

ReportFailedAsync()

Уведомляет клиента о том, что запрос не был успешно обработан.

ReportFailedAsync(Int32)

Уведомляет клиента о том, что запрос не был успешно обработан.

ReportFailedAsync(Int32, String)

Уведомляет клиента о том, что запрос не был успешно обработан.

Применяется к