Class ValidationException
The exception that is thrown when validation problems were detected during persisting.
Inheritance
System.Object
ValidationException
Assembly: Stylelabs.M.Sdk.dll
Syntax
public class ValidationException : SdkException
ValidationException()
Declaration
public ValidationException()
ValidationException(SerializationInfo, StreamingContext)
Declaration
protected ValidationException(SerializationInfo serializationInfo, StreamingContext streamingContext)
Parameters
Type |
Name |
Description |
SerializationInfo |
serializationInfo |
|
StreamingContext |
streamingContext |
|
ValidationException(String)
Declaration
public ValidationException(string message)
Parameters
Type |
Name |
Description |
System.String |
message |
|
ValidationException(String, Exception)
Declaration
public ValidationException(string message, Exception exception)
Parameters
Type |
Name |
Description |
System.String |
message |
|
Exception |
exception |
|
ValidationException(String, IEnumerable<ValidationFailure>)
Declaration
public ValidationException(string message, IEnumerable<ValidationFailure> failures)
Parameters
ValidationException(String, IEnumerable<ValidationFailure>, Exception)
Declaration
public ValidationException(string message, IEnumerable<ValidationFailure> failures, Exception exception)
Parameters
Type |
Name |
Description |
System.String |
message |
|
IEnumerable<ValidationFailure> |
failures |
|
Exception |
exception |
|
ValidationException(String, ValidationFailure)
Declaration
public ValidationException(string message, ValidationFailure failure)
Parameters
Failures
Declaration
public IList<ValidationFailure> Failures { get; }
Property Value
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|