CustomSendErrorNotificationEventArgs(String, String, String, String, String, Exception) Constructor

Initializes a new instance of the CustomSendErrorNotificationEventArgs class.

Namespace: DevExpress.ExpressApp.Web

Assembly: DevExpress.ExpressApp.Web.v18.2.dll

Declaration

public CustomSendErrorNotificationEventArgs(
    string errorId,
    string errorText,
    string errorDetails,
    string messageSubject,
    string messageBody,
    Exception exception
)
Public Sub New(
    errorId As String,
    errorText As String,
    errorDetails As String,
    messageSubject As String,
    messageBody As String,
    exception As Exception
)

Parameters

Type Name Description
String errorId

A string representing the identifier of the error that occurred.

String errorText

A string representing the text of the error message.

String errorDetails

A string representing the complete error description, including the request details, loaded assemblies, last trace entries, etc.

String messageSubject

A string representing the subject of the error notification message.

String messageBody

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.

See Also