Search Results for

    Show / Hide Table of Contents

    Class MidiEndpoint

    Represents a MIDI endpoint.
    Inheritance
    object
    MidiEndpoint
    InputEndpoint
    OutputEndpoint
    Implements
    IDisposable
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Melanchall.DryWetMidi.Multimedia
    Assembly: Melanchall.DryWetMidi.dll
    Syntax
    public abstract class MidiEndpoint : IDisposable

    Fields

    _disposed

    Flag to detect redundant disposing.
    Declaration
    protected bool _disposed
    Field Value
    Type Description
    bool

    _enabled

    Declaration
    protected bool _enabled
    Field Value
    Type Description
    bool

    Properties

    IsEnabled

    Gets or sets a value indicating whether an endpoint is enabled (i.e. operable) or not.
    Declaration
    public bool IsEnabled { get; set; }
    Property Value
    Type Description
    bool

    Name

    Gets the name of the current MIDI endpoint.
    Declaration
    public abstract string Name { get; }
    Property Value
    Type Description
    string

    Methods

    Dispose()

    Releases all resources used by the MIDI endpoint class instance.
    Declaration
    public void Dispose()

    ~MidiEndpoint()

    Finalizes the current instance of the MIDI endpoint class.
    Declaration
    protected ~MidiEndpoint()

    GetDeviceInformation()

    Declaration
    public DeviceInformation GetDeviceInformation()
    Returns
    Type Description
    DeviceInformation

    ToString()

    Returns a string that represents the current object.
    Declaration
    public override string ToString()
    Returns
    Type Description
    string A string that represents the current object.
    Overrides
    object.ToString()

    Events

    ErrorOccurred

    Occurs when an error occurred on endpoint (for example, during MIDI events parsing).
    Declaration
    public event EventHandler<ErrorOccurredEventArgs> ErrorOccurred
    Event Type
    Type Description
    EventHandler<ErrorOccurredEventArgs>

    Implements

    IDisposable
    In this article
    Back to top 2026 / Generated by DocFX