| Namespace | Windows.Devices.Midi2.Transports.Bluetooth |
|---|---|
| Type Name | MidiBluetoothDeviceDisconnectResponse |
| Type | WinRT Runtime Class |
| IDL | MidiBluetoothDeviceDisconnectResponse.idl |
Returned by MidiBluetoothTransportManager.DisconnectDeviceAsync.
| Property | Description |
|---|---|
Success |
True when the device was disconnected |
ErrorCode |
A MidiBluetoothDeviceDisconnectErrorCode |
ErrorMessage |
The transport’s own wording for the failure |
ErrorHResult |
The original HRESULT error number |
NotConnected and DeviceNotDiscovered aren’t always failures worth stopping for. Removing a device from the configuration still makes sense when it isn’t connected, and that’s exactly when people are most likely to want to do it.
