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

NuGet Package: DevExpress.Data

Declaration

public ErrorInfo(
    string errorText,
    ErrorType errorType
)

Parameters

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