Class ValidationException

Represents a validation error.

Inheritance
Object
Exception
ValidationException
Implements
ISerializable
Inherited Members
Exception.GetBaseException()
Exception.GetObjectData(SerializationInfo, StreamingContext)
Exception.GetType()
Exception.ToString()
Exception.Data
Exception.HelpLink
Exception.HResult
Exception.InnerException
Exception.Message
Exception.Source
Exception.StackTrace
Exception.TargetSite
Exception.SerializeObjectState
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Namespace: Solti.Utils.Rpc.Interfaces
Assembly: Solti.Utils.Rpc.Interfaces.dll
Syntax
public class ValidationException : Exception, ISerializable

Constructors

ValidationException()

Creates a new ValidationException instance.

Declaration
public ValidationException()

ValidationException(String)

Creates a new ValidationException instance.

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

ValidationException(String, Exception)

Creates a new ValidationException instance.

Declaration
public ValidationException(string message, Exception innerException)
Parameters
Type Name Description
String message
Exception innerException

Properties

TargetName

The name of parameter or property on which the validation failed.

Declaration
public string TargetName { get; set; }
Property Value
Type Description
String

Implements

System.Runtime.Serialization.ISerializable
In This Article
Back to top Generated by DocFX