Class ValidationException
Represents a validation error.
Implements
Inherited Members
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 |