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

Creates a new InvalidValueExceptionEventArgs object.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

public InvalidValueExceptionEventArgs(
    string errorText,
    string windowCaption,
    Exception exception,
    ExceptionMode exceptionMode,
    object fValue
)
Public Sub New(
    errorText As String,
    windowCaption As String,
    exception As Exception,
    exceptionMode As ExceptionMode,
    fValue As Object
)

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