CustomSendErrorNotificationEventArgs(String, String, String, String, String, Exception) Constructor
Initializes a new instance of the CustomSendErrorNotificationEventArgs class.
Namespace: DevExpress.ExpressApp.Web
Assembly: DevExpress.ExpressApp.Web.v24.1.dll
NuGet Package: DevExpress.ExpressApp.Web
Declaration
public CustomSendErrorNotificationEventArgs(
string errorId,
string errorText,
string errorDetails,
string messageSubject,
string messageBody,
Exception exception
)
Parameters
Name | Type | Description |
---|---|---|
errorId | String | A string representing the identifier of the error that occurred. |
errorText | String | A string representing the text of the error message. |
errorDetails | String | A string representing the complete error description, including the request details, loaded assemblies, last trace entries, etc. |
messageSubject | String | A string representing the subject of the error notification message. |
messageBody | String | A string representing the body of the error notification message. |
exception | Exception | A Exception object corresponding to the error that occurred. |
Remarks
Since instances of the CustomSendErrorNotificationEventArgs class are automatically created and passed to handlers of the ErrorHandling.CustomSendErrorNotification event, you do not need to call this constructor from your applications.