Search Results for

    Show / Hide Table of Contents

    Class MalformedMediaContentException

    Indicates that a MediaContent is not valid.

    Inheritance
    System.Object
    ImageVaultCoreException
    MalformedMediaContentException
    Namespace: ImageVault.Core.Common.Exceptions
    Assembly: ImageVault.Core.dll
    Syntax
    public class MalformedMediaContentException : ImageVaultCoreException

    Constructors

    MalformedMediaContentException()

    Initializes a new instance of the MalformedMediaContentException class.

    Declaration
    public MalformedMediaContentException()

    MalformedMediaContentException(MediaContent, String)

    Initializes a new instance of the MalformedMediaContentException class.

    Declaration
    public MalformedMediaContentException(MediaContent content, string message)
    Parameters
    Type Name Description
    MediaContent content
    System.String message

    MalformedMediaContentException(SerializationInfo, StreamingContext)

    Initializes a new instance of the MalformedMediaContentException class with serialized data.

    Declaration
    public MalformedMediaContentException(SerializationInfo info, StreamingContext context)
    Parameters
    Type Name Description
    System.Runtime.Serialization.SerializationInfo info

    The System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown.

    System.Runtime.Serialization.StreamingContext context

    The System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination.

    MalformedMediaContentException(String)

    Initializes a new instance of the MalformedMediaContentException class with a specified error message.

    Declaration
    public MalformedMediaContentException(string message)
    Parameters
    Type Name Description
    System.String message

    a message that describes the exception

    MalformedMediaContentException(String, Exception)

    Initializes a new instance of the MalformedMediaContentException class with a specified error message and a reference to the inner exception that is the cause of this exception.

    Declaration
    public MalformedMediaContentException(string message, Exception innerException)
    Parameters
    Type Name Description
    System.String message

    a message that describes the exception

    System.Exception innerException

    The exception that caused this exception

    MalformedMediaContentException(String, Object[])

    Initializes a new instance of the MalformedMediaContentException class with a specified formatted error message.

    Declaration
    public MalformedMediaContentException(string format, params object[] args)
    Parameters
    Type Name Description
    System.String format

    A System.String containing zero or more format items.

    System.Object[] args

    An System.Object array containing zero or more objects to format.

    Properties

    MediaContent

    Get/Sets the MediaContent of the MalformedMediaContentException

    Declaration
    public MediaContent MediaContent { get; set; }
    Property Value
    Type Description
    MediaContent

    Methods

    GetObjectData(SerializationInfo, StreamingContext)

    When overridden in a derived class, sets the SerializationInfo with information about the exception.

    Declaration
    public override void GetObjectData(SerializationInfo info, StreamingContext context)
    Parameters
    Type Name Description
    System.Runtime.Serialization.SerializationInfo info

    The System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown.

    System.Runtime.Serialization.StreamingContext context

    The System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination.

    In This Article
    Back to top (c) Meriworks 2002-2022