The requested page is not available for the requested platform. You are viewing the content for Default platform.

ErrorHandling Methods

Provides static members for the error handling in ASP.NET applications.

Name Description
ClearApplicationError()

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) Determines whether the specified object is equal to the current object.
(Inherited from Object)
Equals(Object, Object) Determines whether the specified object instances are considered equal.
(Inherited from Object)
GetApplicationError()

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)

Determines if the specified exception is ignored.

MemberwiseClone() Creates a shallow copy of the current Object.
(Inherited from Object)
ProcessApplicationError()

Processes the last exception that occurred.

ReferenceEquals(Object, Object) Determines whether the specified Object instances are the same instance.
(Inherited from Object)
SendAlertToAdmin(String, String, String)

Sends an alert to the application administrator.

SendAlertToAdmin(String, String, String, Exception)

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