Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

BaseValidationError(Object, Exception, ErrorType) Constructor

In This Article

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.2.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