BluetoothError 列挙型

定義

一般的な Bluetooth エラー ケースを指定します。

public enum class BluetoothError
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class BluetoothError
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum BluetoothError
var value = Windows.Devices.Bluetooth.BluetoothError.success
Public Enum BluetoothError
継承
BluetoothError
属性

Windows の要件

デバイス ファミリ
Windows 10 (10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox で導入)
API contract
Windows.Foundation.UniversalApiContract (v1.0 で導入)
アプリの機能
bluetooth

フィールド

ConsentRequired 8

操作には同意が必要です。

DeviceNotConnected 3

リモート デバイスが接続されていないため、操作を完了できません。

DisabledByPolicy 5

この操作はポリシーによって無効になっています。

DisabledByUser 7

操作はユーザーによって無効になります。

NotSupported 6

この操作は、現在の Bluetooth 無線ハードウェアではサポートされていません。

OtherError 4

予期しないエラーが発生しました。

RadioNotAvailable 1

Bluetooth 無線を使用できませんでした。 このエラーは、Bluetooth 無線がオフになっている場合に発生します。

ResourceInUse 2

必要なリソースが現在使用されているため、操作を処理できません。

Success 0

操作が正常に完了したか、処理されました。

TransportNotSupported 9

トランスポートはサポートされていません。

注釈

バージョン履歴

Windows のバージョン SDK バージョン 追加された値
1511 10586 DisabledByUser
1607 14393 ConsentRequired
1703 15063 TransportNotSupported

適用対象