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.UI.Xaml.Editors.Native

Assembly: DevExpress.UI.Xaml.Editors.v21.2.dll

NuGet Package: DevExpress.Uwp.Controls

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