logo
logo
  • Class ValidationException

    The exception that is thrown when validation problems were detected during persisting.

    Inheritance
    System.Object
    ValidationException
    Namespace: Stylelabs.M.Sdk.Exceptions
    Assembly: Stylelabs.M.Sdk.dll
    Syntax
    public class ValidationException : SdkException

    Constructors

    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
    Type Name Description
    System.String message
    IEnumerable<ValidationFailure> failures

    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
    Type Name Description
    System.String message
    ValidationFailure failure

    Properties

    Failures

    Declaration
    public IList<ValidationFailure> Failures { get; }
    Property Value
    Type Description
    IList<ValidationFailure>

    Methods

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String

    Can we improve this article ? Provide feedback