Skip to main content

BaseValidationError(Object, Exception) Constructor

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

Namespace: DevExpress.Xpf.Editors.Validation

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

NuGet Package: DevExpress.Wpf.Core

Declaration

public BaseValidationError(
    object errorContent,
    Exception exception
)

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.

See Also