| 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 raw HRESULT. |
NotConnected and DeviceNotFound are not necessarily failures worth stopping for. Removing a device from the configuration file is still meaningful when it is not connected, which is exactly when a customer is most likely to want it.
