Search Results for

    Show / Hide Table of Contents

    Class ImageVaultServerException

    Summary description for ImageVaultServerException.

    Inheritance
    System.Object
    ImageVaultServerException
    Namespace: ImageVault.Client
    Assembly: ImageVault.Client.dll
    Syntax
    public class ImageVaultServerException : Exception

    Constructors

    ImageVaultServerException()

    Initializes a new instance of the ImageVaultServerException class.

    Declaration
    public ImageVaultServerException()

    ImageVaultServerException(HttpError)

    Declaration
    public ImageVaultServerException(HttpError httpError)
    Parameters
    Type Name Description
    HttpError httpError

    ImageVaultServerException(SerializationInfo, StreamingContext)

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

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

    ImageVaultServerException(String)

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

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

    a message that describes the exception

    ImageVaultServerException(String, Exception)

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

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

    ImageVaultServerException(String, Object[])

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

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

    ServerExceptionType

    Contains the name of the server exception type

    Declaration
    public string ServerExceptionType { get; set; }
    Property Value
    Type Description
    System.String

    ServerMessage

    Contains the Exception message from the server error

    Declaration
    public string ServerMessage { get; set; }
    Property Value
    Type Description
    System.String

    ServerStackTrace

    Contains the Exception StackTrace string from the server error

    Declaration
    public string ServerStackTrace { get; set; }
    Property Value
    Type Description
    System.String

    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.

    Extension Methods

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