Skip to main content

ErrorInfo(String, ErrorType) Constructor

Initializes a new instance of the ErrorInfo class with the specified error information.

Namespace: DevExpress.XtraEditors.DXErrorProvider

Assembly: DevExpress.Data.v22.2.dll

NuGet Package: DevExpress.Data


public ErrorInfo(
    string errorText,
    ErrorType errorType


Name Type Description
errorText String

A string that specifies the error text. This value is used to initialize the ErrorInfo.ErrorText property.

errorType ErrorType

An error type. This value is used to initialize the ErrorInfo.ErrorType property.

See Also