Class MidiException
Base MIDI exception class.
Inheritance
MidiException
Implements
Inherited Members
Namespace: Melanchall.DryWetMidi.Common
Assembly: Melanchall.DryWetMidi.dll
Syntax
public abstract class MidiException : Exception, ISerializable
Constructors
MidiException(SerializationInfo, StreamingContext)
Initializes a new instance of the MidiException class with serialized data.
Declaration
protected MidiException(SerializationInfo info, StreamingContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| SerializationInfo | info | The SerializationInfo that holds the serialized object data about the exception being thrown. |
| StreamingContext | context | The StreamingContext that contains contextual information about the source or destination. |
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException | info is null. |