Unosquare
    Show / Hide Table of Contents

    Class LegacyAudioException

    An exception representing an error in Windows Multimedia Audio.

    Inheritance
    Object
    LegacyAudioException
    Namespace: Unosquare.FFME.Common
    Syntax
    [Serializable]
    public sealed class LegacyAudioException : MediaContainerException

    Constructors

    LegacyAudioException()

    Initializes a new instance of the LegacyAudioException class.

    Declaration
    public LegacyAudioException()

    LegacyAudioException(String)

    Initializes a new instance of the LegacyAudioException class.

    Declaration
    public LegacyAudioException(string message)
    Parameters
    Type Name Description
    String message

    The error message.

    LegacyAudioException(String, Exception)

    Initializes a new instance of the LegacyAudioException class.

    Declaration
    public LegacyAudioException(string message, Exception innerException)
    Parameters
    Type Name Description
    String message

    The error message.

    Exception innerException

    The inner exception.

    LegacyAudioException(LegacyAudioResult, String)

    Initializes a new instance of the LegacyAudioException class.

    Declaration
    public LegacyAudioException(LegacyAudioResult result, string functionName)
    Parameters
    Type Name Description
    LegacyAudioResult result

    The result returned by the Windows API call.

    String functionName

    The name of the Windows API that failed.

    Properties

    FunctionName

    Gets the name of the function that failed.

    Declaration
    public string FunctionName { get; }
    Property Value
    Type Description
    String

    Result

    Gets the Windows API result code.

    Declaration
    public LegacyAudioResult Result { get; }
    Property Value
    Type Description
    LegacyAudioResult

    Methods

    GetObjectData(SerializationInfo, StreamingContext)

    Declaration
    [SecurityPermission(SecurityAction.Demand, SerializationFormatter = true)]
    public override void GetObjectData(SerializationInfo info, StreamingContext context)
    Parameters
    Type Name Description
    SerializationInfo info
    StreamingContext context

    Comments

    Back to top Copyright © 2017-2019 Unosquare