Class ValidationFailure

Describes a validation failure.

Inheritance
object
ValidationFailure
Namespace: StylelabsStylelabs.MSdkExceptions
Assembly: Stylelabs.M.Sdk.dll
Syntax
RequestResponse

public class ValidationFailure

Constructors

ValidationFailure(string, string)

Initializes a new instance of the ValidationFailure class.

Declaration
RequestResponse

public ValidationFailure(string message, string source)
Parameters
TypeNameDescription
stringmessage

A description of why the item is invalid.

stringsource

The item that is invalid.

Properties

Message

Gets a description of why the item is invalid.

Declaration
RequestResponse

public string Message { get; }
Property Value
TypeDescription
string

Source

Gets the item that is invalid, e.g. a property or relation.

Declaration
RequestResponse

public string Source { get; }
Property Value
TypeDescription
string

Methods

ToString()

Declaration
RequestResponse

public override string ToString()
Returns
TypeDescription
string

Do you have some feedback for us?

If you have suggestions for improving this article,