Share via


BarcodeScannerStartSoftwareTriggerRequest Class

Definition

Represents the request to signal a barcode scanner to start scanning.

public ref class BarcodeScannerStartSoftwareTriggerRequest 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 BarcodeScannerStartSoftwareTriggerRequest final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 393216)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class BarcodeScannerStartSoftwareTriggerRequest 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 BarcodeScannerStartSoftwareTriggerRequest
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 393216)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class BarcodeScannerStartSoftwareTriggerRequest
Public NotInheritable Class BarcodeScannerStartSoftwareTriggerRequest
Inheritance
Object Platform::Object IInspectable BarcodeScannerStartSoftwareTriggerRequest
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 BarcodeScannerStartSoftwareTriggerRequestEventArgs argument of the StartSoftwareTriggerRequested event.

Version history

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

Methods

ReportCompletedAsync()

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