次の方法で共有


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 で導入)

注釈

システムはこのクラスのインスタンスを生成し、DisableScannerRequested イベントの BarcodeScannerDisableScannerRequestEventArgs パラメーターのプロパティとして設定します。

バージョン履歴

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

メソッド

ReportCompletedAsync()

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

ReportFailedAsync()

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

ReportFailedAsync(Int32)

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

ReportFailedAsync(Int32, String)

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

適用対象