Skip to main content

InvalidValueExceptionEventArgs(String, Exception, Object) Constructor

Initializes a new instance of the InvalidValueExceptionEventArgs class.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public InvalidValueExceptionEventArgs(
    string errorText,
    Exception exception,
    object fValue
)

Parameters

Name Type Description
errorText String

A string to initialize the ExceptionEventArgs.ErrorText property.

exception Exception

A Exception object to initialize the ExceptionEventArgs.Exception property.

fValue Object

An object to initialize the InvalidValueExceptionEventArgs.Value property.

Remarks

The constructor creates a new instance of the InvalidValueExceptionEventArgs class and sets the ExceptionEventArgs.ErrorText, ExceptionEventArgs.Exception and InvalidValueExceptionEventArgs.Value properties to specified values. The ExceptionEventArgs.WindowCaption property is set to “Error”. ExceptionEventArgs.ExceptionMode is set to ExceptionMode.DisplayError.

See Also