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

ErrorHandling Methods

Provides static members for the error handling in ASP.NET Web Forms applications.
Name Description
ClearApplicationError() static Clears the application errors of the current context.
ClearCachedPageError() Clears the cached page error in the current context.
ClearCachedPageError(Func<ErrorInfo, Boolean>)
ClearPageError() Clears page errors in the current context.
ClearPageError(Func<ErrorInfo, Boolean>)
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetApplicationError() static Gets the information on the application error that occurred in the current context.
GetCachedPageError() Gets the information on the cached page error that occurred in the current context.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetPageError() Gets the information on the page error that occurred in the current context.
GetType() Gets the Type of the current instance. Inherited from Object.
IsIgnoredException(Exception) static Determines if the specified exception is ignored.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ProcessApplicationError() Processes the last exception that occurred.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
SendAlertToAdmin(String, String, String, Exception) static Sends an alert to the application administrator.
SendAlertToAdmin(String, String, String) static Sends an alert to the application administrator.
SetPageError(Exception) Handles the specified exception.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also