Skip to main content

BaseValidationError(Object, Exception, ErrorType) Constructor

Initializes a new instance of the BaseValidationError class with the specified error content, exception and error type.

Namespace: DevExpress.Xpf.Editors.Validation

Assembly: DevExpress.Xpf.Core.v24.1.dll

NuGet Package: DevExpress.Wpf.Core

Declaration

public BaseValidationError(
    object errorContent,
    Exception exception,
    ErrorType errorType
)

Parameters

Name Type Description
errorContent Object

A Object specifying the error content. This value is assigned to the BaseValidationError.ErrorContent property.

exception Exception

A Exception object, containing information about the error. This value is assigned to the BaseValidationError.Exception property.

errorType ErrorType

A ErrorType enumeration value specifying the error type. This value is assigned to the BaseValidationError.ErrorType property.

See Also