BluetoothError BluetoothError BluetoothError BluetoothError BluetoothError Enum


Specifies common Bluetooth error cases.

public : enum class BluetoothError
enum class winrt::Windows::Devices::Bluetooth::BluetoothError : int32_t
public enum BluetoothError
Public Enum BluetoothError
var value = Windows.Devices.Bluetooth.BluetoothError.consentRequired;

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


ConsentRequired ConsentRequired ConsentRequired ConsentRequired ConsentRequired 8

The operation requires consent.

DeviceNotConnected DeviceNotConnected DeviceNotConnected DeviceNotConnected DeviceNotConnected 3

The operation cannot be completed because the remote device is not connected.

DisabledByPolicy DisabledByPolicy DisabledByPolicy DisabledByPolicy DisabledByPolicy 5

The operation is disabled by policy.

DisabledByUser DisabledByUser DisabledByUser DisabledByUser DisabledByUser 7

The operation is disabled by the user.

NotSupported NotSupported NotSupported NotSupported NotSupported 6

The operation is not supported on the current Bluetooth radio hardware.

OtherError OtherError OtherError OtherError OtherError 4

An unexpected error has occurred.

RadioNotAvailable RadioNotAvailable RadioNotAvailable RadioNotAvailable RadioNotAvailable 1

The Bluetooth radio was not available. This error occurs when the Bluetooth radio has been turned off.

ResourceInUse ResourceInUse ResourceInUse ResourceInUse ResourceInUse 2

The operation cannot be serviced because the necessary resources are currently in use.

Success Success Success Success Success 0

The operation was successfully completed or serviced.

TransportNotSupported TransportNotSupported TransportNotSupported TransportNotSupported TransportNotSupported 9

The transport is not supported.


Version history

Windows version SDK version Value added
1511 10586 DisabledByUser
1607 14393 ConsentRequired
1703 15063 TransportNotSupported