다음을 통해 공유


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

적용 대상