次の方法で共有


BarcodeScannerEnableScannerRequest クラス

定義

バーコード スキャナーを有効にする要求を表します。

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
継承
Object Platform::Object IInspectable BarcodeScannerEnableScannerRequest
属性

Windows の要件

デバイス ファミリ
Windows 10, version 1803 (10.0.17134.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v6.0 で導入)

注釈

システムはこのクラスのインスタンスを生成し、EnableScannerRequested イベントの BarcodeScannerEnableScannerRequestEventArgs 引数のプロパティとして設定します。

バージョン履歴

Windows のバージョン SDK バージョン 追加された値
1809 17763 ReportFailedAsync(Int32)
1809 17763 ReportFailedAsync(Int32,String)

メソッド

ReportCompletedAsync()

要求が正常に処理されたことをクライアント アプリに通知します。

ReportFailedAsync()

要求が正常に処理されなかったことをクライアントに通知します。

ReportFailedAsync(Int32)

要求が正常に処理されなかったことをクライアントに通知します。

ReportFailedAsync(Int32, String)

要求が正常に処理されなかったことをクライアントに通知します。

適用対象