Language

MidiPort.MessageReceived Event

Definition

Raised when MIDI messages are received on this input port from a connected source endpoint.

public event EventHandler<CoreMidi.MidiPacketsEventArgs>? MessageReceived;
member this.MessageReceived : EventHandler<CoreMidi.MidiPacketsEventArgs> 

Event Type

Remarks

The received packets are provided in the event arguments. This event is only raised for input ports that have been connected to a source with ConnectSource(MidiEndpoint).

Applies to