Condividi tramite


ValidationError Class

Definition

Represents the base class for validation errors.

[System.Runtime.InteropServices.Guid("6A4FEEEC-977B-4f3a-9694-E65969EAD568")]
public sealed class ValidationError
[<System.Runtime.InteropServices.Guid("6A4FEEEC-977B-4f3a-9694-E65969EAD568")>]
type ValidationError = class
Public NotInheritable Class ValidationError
Inheritance
ValidationError
Attributes

Constructors

ValidationError(IModelComponent, String, ErrorPriority, Int32)

Initializes a new instance of the ValidationError class using the source and error information.

ValidationError(IModelComponent, String, ErrorPriority)

Initializes a new instance of the ValidationError class using the source and error information.

ValidationError(IModelComponent, String, Int32)

Initializes a new instance of the ValidationError class using the source and error information.

ValidationError(IModelComponent, String)

Initializes a new instance of the ValidationError class using the source and error information.

Properties

ErrorCode

Gets or sets the error code.

ErrorText

Gets or sets the error text for this instance.

FullErrorText

Gets the full error text for this instance.

Priority

Gets or sets the error priority.

Source

Gets or sets the validation source for this instance.

Applies to