| Namespace | Windows.Devices.Midi2.Transports.Network |
|---|---|
| Type Name | MidiNetworkHostRemovalConfig |
| Type | WinRT Runtime Class |
| Implements | IMidiServiceTransportPluginConfig |
| IDL | MidiNetworkHostRemovalConfig.idl |
Pass to MidiNetworkTransportManager.RemoveNetworkHostAsync.
| Constructor | Description |
|---|---|
MidiNetworkHostRemovalConfig() |
Creates an empty configuration |
MidiNetworkHostRemovalConfig(hostId) |
Creates a configuration for this host |
| Property | Description |
|---|---|
HostId |
The GUID of the host to remove |
Removing a host disconnects every remote client connected to it, and frees its UDP port and mDNS advertisement.
