Skip to main content
A newer version of this page is available. .

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

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Core, 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