ErrorHandling.SendAlertToAdmin(String, String, String) Method

Sends an alert to the application administrator.

Namespace: DevExpress.ExpressApp.Web

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

Declaration

public static void SendAlertToAdmin(
    string errorId,
    string errorDetails,
    string errorText
)
Public Shared Sub SendAlertToAdmin(
    errorId As String,
    errorDetails As String,
    errorText As String
)

Parameters

Type Name Description
String errorId

A string representing the identifier of the error that occurred.

String errorDetails

A string representing detailed information on the error that occurred.

String errorText

A string representing the text of the error message.

By default, the application administrator receives error alerts at the e-mail address specified in the application configuration file via the ErrorReportEmail parameter (see Error Handling in ASP.NET and Mobile Applications). You can customize the process of sending an alert to the application administrator by handling the ErrorHandling.CustomSendErrorNotification and ErrorHandling.CustomSendMailMessage events.

See Also