Class ValidationException
Thrown by dataclasses when validation does not pass
Inheritance
System.Object
System.Exception
ValidationException
Implements
System.Runtime.Serialization.ISerializable
Inherited Members
System.Exception.GetBaseException()
System.Exception.GetType()
System.Exception.ToString()
System.Exception.Data
System.Exception.HelpLink
System.Exception.HResult
System.Exception.InnerException
System.Exception.Message
System.Exception.Source
System.Exception.StackTrace
System.Exception.TargetSite
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Azos.Data
Assembly: Azos.dll
Syntax
[Serializable]
public class ValidationException : DataException, ISerializable
Constructors
ValidationException()
Declaration
public ValidationException()
ValidationException(SerializationInfo, StreamingContext)
Declaration
protected ValidationException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | |
System.Runtime.Serialization.StreamingContext | context |
ValidationException(String)
Declaration
public ValidationException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message |
ValidationException(String, Exception)
Declaration
public ValidationException(string message, Exception inner)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | |
System.Exception | inner |
Implements
System.Runtime.Serialization.ISerializable