BarcodeScannerEnableScannerRequest Classe

Definizione

Rappresenta la richiesta per abilitare lo scanner di codice a barre.

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

Requisiti Windows

Famiglia di dispositivi
Windows 10, version 1803 (è stato introdotto in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (è stato introdotto in v6.0)

Commenti

Il sistema genera un'istanza di questa classe e la imposta come proprietà nell'argomento BarcodeScannerEnableScannerRequestEventArgs dell'evento EnableScannerRequested.

Cronologia delle versioni

Versione di Windows Versione dell'SDK Valore aggiunto
1809 17763 ReportFailedAsync(Int32)
1809 17763 ReportFailedAsync(Int32,String)

Metodi

ReportCompletedAsync()

Notifica all'app client che la richiesta è stata elaborata correttamente.

ReportFailedAsync()

Notifica al client che la richiesta non è stata elaborata correttamente.

ReportFailedAsync(Int32)

Notifica al client che la richiesta non è stata elaborata correttamente.

ReportFailedAsync(Int32, String)

Notifica al client che la richiesta non è stata elaborata correttamente.

Si applica a