InvalidValueExceptionEventArgs(String, Exception, Object) Constructor
Initializes a new instance of the InvalidValueExceptionEventArgs class.
Namespace: DevExpress.XtraEditors.Controls
Assembly: DevExpress.XtraEditors.v24.2.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
public InvalidValueExceptionEventArgs(
string errorText,
Exception exception,
object fValue
)
#Parameters
Name | Type | Description |
---|---|---|
error |
String | A string to initialize the Exception |
exception | Exception | A Exception object to initialize the Exception |
f |
Object | An object to initialize the Invalid |
#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.