Class UnknownChannelEventException
The exception that is thrown when the reading engine encountered unknown channel event.
Implements
Inherited Members
Namespace: Melanchall.DryWetMidi.Core
Assembly: Melanchall.DryWetMidi.dll
Syntax
[Serializable]
public sealed class UnknownChannelEventException : MidiException, ISerializable
Properties
Channel
Gets the channel of an unknown channel event.
Declaration
public FourBitNumber Channel { get; }
Property Value
Type | Description |
---|---|
FourBitNumber |
StatusByte
Gets the status byte of an unknown channel event.
Declaration
public FourBitNumber StatusByte { get; }
Property Value
Type | Description |
---|---|
FourBitNumber |
Methods
GetObjectData(SerializationInfo, StreamingContext)
Sets the SerializationInfo with information about the exception.
Declaration
public override void GetObjectData(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. |
Overrides
Exceptions
Type | Condition |
---|---|
ArgumentNullException | info is null . |