NOW LOADING

MidiRtpClientDisconnectResponse


Result of a request to disconnect and remove an RTP-MIDI client
Namespace Windows.Devices.Midi2.Transports.Rtp
Type Name MidiRtpClientDisconnectResponse
Type WinRT Runtime Class
IDL MidiRtpClientDisconnectResponse.idl

Returned by MidiRtpTransportManager.DisconnectRtpClientAsync.

Properties

Property Description
ClientId The GUID of the client entry the request was about
Success True if the client was removed from the running service
ErrorCode A MidiRtpClientDisconnectErrorCode when Success is false
ErrorMessage A description of the failure that people can read

Remarks

Check Success first. When it’s false, ErrorCode tells your code why, and ErrorMessage is a description you can show to people.

Didn't find what you were looking for?

Windows MIDI Services is an open source project with all source available on GitHub. We have a great community on Discord as well. Between GitHub and Discord, you should find the information you are looking for.