Search Results for

    Show / Hide Table of Contents

    Class TickGeneratorException

    The exception that is thrown when an error occurred on TickGenerator.
    Inheritance
    object
    Exception
    MidiException
    TickGeneratorException
    Implements
    ISerializable
    Inherited Members
    Exception.GetBaseException()
    Exception.GetType()
    Exception.ToString()
    Exception.Data
    Exception.HelpLink
    Exception.HResult
    Exception.InnerException
    Exception.Message
    Exception.Source
    Exception.StackTrace
    Exception.TargetSite
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.ReferenceEquals(object, object)
    Namespace: Melanchall.DryWetMidi.Multimedia
    Assembly: Melanchall.DryWetMidi.dll
    Syntax
    [Serializable]
    public sealed class TickGeneratorException : MidiException, ISerializable

    Constructors

    TickGeneratorException(string, int)

    Initializes a new instance of the TickGeneratorException class with the specified error message and an error code.
    Declaration
    public TickGeneratorException(string message, int errorCode)
    Parameters
    Type Name Description
    string message The error message that explains the reason for the exception.
    int errorCode The error code.

    Properties

    ErrorCode

    Gets the code of an error represented by the current MidiDeviceException.
    Declaration
    public int ErrorCode { 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
    Exception.GetObjectData(SerializationInfo, StreamingContext)
    Exceptions
    Type Condition
    ArgumentNullException info is null.

    Implements

    ISerializable
    In this article
    Back to top 2024 / Generated by DocFX