ValidationError Class

Definition

Represents a validation error.

public ref class ValidationError sealed
public sealed class ValidationError
type ValidationError = class
Public NotInheritable Class ValidationError
Inheritance
ValidationError

Constructors

Name Description
ValidationError()

Properties

Name Description
Container

Gets a reference to the container object of the validated property.

ErrorMessage

Gets the error message associated with the validation error.

Name

Gets the name of the property or parameter that caused the validation error.

Path

Gets the full path from the root object to the property or parameter that caused the validation error.

Applies to