Class InvalidMidiTimeCodeComponentException
The exception that is thrown when the reading engine has encountered an invalid MIDI time
code component (i.e. a value that doesn't belong to values of MidiTimeCodeComponent)
during reading MidiTimeCodeEvent.
Implements
Inherited Members
Namespace: Melanchall.DryWetMidi.Core
Assembly: Melanchall.DryWetMidi.dll
Syntax
[Serializable]
public sealed class InvalidMidiTimeCodeComponentException : MidiException, ISerializable
Properties
MidiTimeCodeComponent
Gets the value representing MIDI time code component that caused this exception.
Declaration
public byte MidiTimeCodeComponent { get; }
Property Value
| Type | Description |
|---|---|
| byte |
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. |