| Namespace | Windows.Devices.Midi2.Transports.Network |
|---|---|
| Type Name | MidiNetworkClientEntryState |
| Type | WinRT Enumeration (a 32-bit unsigned or signed integer) |
| IDL | MidiNetworkClientEntryStateEnum.idl |
Reported by MidiNetworkConfiguredClient.EntryState.
| Value | Numeric Value | Description |
|---|---|---|
Pending |
0 |
Configured, and waiting for the service to connect it |
Active |
1 |
The service has created the client. Use IsSessionActive for whether MIDI is flowing |
Failed |
2 |
The configuration entry itself was rejected, so retrying cannot help |
Unavailable |
3 |
A direct connection which stopped answering. The service will not retry it on its own |
Unavailable applies only to direct address connections. Nothing announces that a fixed address has come back, so the service stops inviting it rather than putting traffic on the wire indefinitely. Call ConnectNetworkClientAsync again with the same ClientId to retry.
A discovered (mDNS) client never reaches Unavailable: it returns to Pending and is picked up again whenever the host advertises.
