Search Results for

    Show / Hide Table of Contents

    Class ImageVaultException

    General exception for ImageVault components.

    Inheritance
    System.Object
    ImageVaultException
    ImageVaultConfigurationException
    ImageVaultConfigurationException
    ImageVaultForbiddenException
    ImageVaultForbiddenException
    Namespace: ImageVault.Common
    Assembly: ImageVault.Common.dll
    Syntax
    public class ImageVaultException : Exception

    Constructors

    ImageVaultException()

    Initializes a new instance of the ImageVaultException class.

    Declaration
    public ImageVaultException()

    ImageVaultException(SerializationInfo, StreamingContext)

    Initializes a new instance of the ImageVaultException class with serialized data. ///

    Declaration
    public ImageVaultException(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.

    ImageVaultException(String)

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

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

    a message that describes the exception

    ImageVaultException(String, Exception)

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

    Declaration
    public ImageVaultException(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

    ImageVaultException(String, Object[])

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

    Declaration
    public ImageVaultException(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.

    Extension Methods

    EnumExtensions.GetNames<TEnum>(TEnum)
    In This Article
    Back to top (c) Meriworks 2002-2022