| Namespace | Windows.Devices.Midi2.Transports.Network |
|---|---|
| Type Name | MidiNetworkClientDisconnectResponse |
| Type | WinRT Runtime Class |
| IDL | MidiNetworkClientDisconnectResponse.idl |
Returned by MidiNetworkTransportManager.DisconnectNetworkClientAsync.
| Property | Description |
|---|---|
ClientId |
The GUID of the client entry the request referred to |
Success |
True if the client was disconnected |
ErrorCode |
A MidiNetworkClientDisconnectErrorCode when Success is false |
ErrorMessage |
A human-readable description of the failure |
Check Success first. When it is false, ErrorCode gives the machine-readable reason and ErrorMessage a localized description suitable for display.
Disconnecting a client the service does not have returns ClientNotFound rather than reporting success.
