NOW LOADING

MidiNetworkHostUpdateResponse


Result of a request to start or stop a Network MIDI 2.0 host
Namespace Windows.Devices.Midi2.Transports.Network
Type Name MidiNetworkHostUpdateResponse
Type WinRT Runtime Class
IDL MidiNetworkHostUpdateResponse.idl

Returned by MidiNetworkTransportManager.StartNetworkHostAsync and StopNetworkHostAsync.

Properties

Property Description
HostId The GUID of the host the request referred to
Success True if the host was started or stopped as requested
ErrorCode A MidiNetworkHostUpdateErrorCode when Success is false
ErrorMessage A human-readable description of the failure

Remarks

Check Success first. When it is false, ErrorCode gives the machine-readable reason and ErrorMessage a localized description suitable for display.

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.