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

InvalidValueExceptionEventArgs(String, String, Exception, ExceptionMode, Object) Constructor

Creates a new InvalidValueExceptionEventArgs object.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v19.1.dll

Declaration

public InvalidValueExceptionEventArgs(
    string errorText,
    string windowCaption,
    Exception exception,
    ExceptionMode exceptionMode,
    object fValue
)

Parameters

Name Type Description
errorText String

A string value specifying the error’s description. This value is assigned to the ExceptionEventArgs.ErrorText property.

windowCaption String

A string value specifying the error message box caption. This value is assigned to the ExceptionEventArgs.WindowCaption property.

exception Exception

A Exception object representing the exception that raised the event. This value is assigned to the ExceptionEventArgs.Exception property.

exceptionMode ExceptionMode

A ExceptionMode enumeration value specifying the response to entering an invalid value. This value is assigned to the ExceptionEventArgs.ExceptionMode property.

fValue Object

An object representing the invalid value. This value is assigned to the InvalidValueExceptionEventArgs.Value property.

See Also