| Namespace | Windows.Devices.Midi2 |
|---|---|
| Type Name | IMidiEndpointConnectionSource |
| Type | WinRT Explicit Interface |
| IDL | IMidiEndpointConnectionSource.idl |
This interface gives a message processing plugin the parts of its connection that it needs. The WinRT API uses it so that the connection class and the plugin interface don’t have to refer to each other directly, which would be a circular reference. Only MidiEndpointConnection implements it.
| Property | Description |
|---|---|
ConnectionId |
A GUID that identifies this connection |
ConnectedEndpointDeviceId |
The id of the endpoint this connection is for |
Settings |
The MidiEndpointConnectionSettings used to create this connection |
IsOpen |
True if the connection is open |
Tag |
Any extra object your application wants to keep with the connection |
| Event | Description |
|---|---|
EndpointDeviceDisconnected(source, args) |
Raised when the endpoint device disconnects |
EndpointDeviceReconnected(source, args) |
Raised when the endpoint device reconnects, if automatic reconnection is turned on |
