Search Results for

    Show / Hide Table of Contents

    Class ValidationException

    Summary description for ValidationException.

    Inheritance
    System.Object
    System.Exception
    System.ApplicationException
    LicenseException
    ValidationException
    Implements
    System.Runtime.Serialization.ISerializable
    System.Runtime.InteropServices._Exception
    Inherited Members
    System.Exception.GetBaseException()
    System.Exception.ToString()
    System.Exception.GetType()
    System.Exception.Message
    System.Exception.Data
    System.Exception.InnerException
    System.Exception.TargetSite
    System.Exception.StackTrace
    System.Exception.HelpLink
    System.Exception.Source
    System.Exception.HResult
    System.Exception.SerializeObjectState
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.MemberwiseClone()
    Namespace: ImageVault.Core.License.Meriworks
    Assembly: ImageVault.Core.dll
    Syntax
    public class ValidationException : LicenseException, ISerializable, _Exception
    Remarks

    2007-02-09 dan: Created

    Constructors

    ValidationException()

    Initializes a new instance of the ValidationException class.

    Declaration
    public ValidationException()

    ValidationException(SerializationInfo, StreamingContext)

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

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

    ValidationException(String)

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

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

    a message that describes the exception

    ValidationException(String, Exception)

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

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

    ValidationException(String, Object[])

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

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

    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.

    Overrides
    LicenseException.GetObjectData(SerializationInfo, StreamingContext)

    Implements

    System.Runtime.Serialization.ISerializable
    System.Runtime.InteropServices._Exception
    In This Article
    Back to top (c) Meriworks 2002-2022