Class TooManyTrackChunksException
The exception that is thrown while writing a MIDI file when the Chunks
contains more than MaxValue track chunks which is the maximum allowed count for
chunks of this type.
Implements
Inherited Members
Namespace: Melanchall.DryWetMidi.Core
Assembly: Melanchall.DryWetMidi.dll
Syntax
[Serializable]
public sealed class TooManyTrackChunksException : MidiException, ISerializable
Properties
TrackChunksCount
Gets the actual track chunks count.
Declaration
public int TrackChunksCount { get; }
Property Value
| Type | Description |
|---|---|
| int |
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. |