NOW LOADING

MidiNetworkClientDisconnectConfig


Config sent to the service to disconnect a Network MIDI 2.0 client
Namespace Windows.Devices.Midi2.Transports.Network
Type Name MidiNetworkClientDisconnectConfig
Type WinRT Runtime Class
Implements Windows.Devices.Midi2.ServiceConfig.IMidiServiceTransportPluginConfig 
IDL MidiNetworkClientDisconnectConfig.idl

Pass to MidiNetworkTransportManager.DisconnectNetworkClientAsync.

Constructors

Constructor Description
MidiNetworkClientDisconnectConfig() Create an empty config
MidiNetworkClientDisconnectConfig(clientId) Create a config for the specified client

Properties

Property Description
ClientId The GUID of the client entry to disconnect

Remarks

A client disconnected this way stays disconnected. The service does not treat a user-requested disconnect as a connection loss, so it is not reconnected automatically.

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.