Skip to main content
.NET Framework 4.6.2+
  • The page you are viewing does not exist in the .NET 8.0+ platform documentation. This link will take you to the parent topic of the current section.

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ErrorHandling.SendAlertToAdmin(String, String, String, Exception) Method

Sends an alert to the application administrator.

Namespace: DevExpress.ExpressApp.Web

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

NuGet Package: DevExpress.ExpressApp.Web

#Declaration

public static void SendAlertToAdmin(
    string errorId,
    string errorDetails,
    string errorText,
    Exception exception
)

#Parameters

Name Type Description
errorId String

A string representing the identifier of the error that occurred.

errorDetails String

A string representing detailed information on the error that occurred.

errorText String

A string representing detailed information on the error occurred.

exception Exception

A Exception object representing an error occurred.

#Remarks

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 Web Forms 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