Used by the endRequest event of the Sys.WebForms.PageRequestManager class to pass argument information to event handlers. The endRequest event is raised just after the postback request has finished processing.
This class contains private members that support the client-script infrastructure and are not intended to be used directly from your code. Names of private members begin with an underscore ( _ ).
An EndRequestEventArgs object is returned as a parameter in an event handler. You can use its error property to determine whether an error occurred and to obtain details about the error. You can also use the errorHandled property to determine whether the error has already been handled and to indicate that you have handled the error.
The following example shows how to use two properties of the EndRequestEventArgs class. A Click event handler for a button in an UpdatePanel control throws an ArgumentException exception to simulate an unhandled exception. In the client script, a handler for the endRequest event of the PageRequestManager class checks the error property value. If the error is an unhandled server exception, the script sets the errorHandled property to true and displays an error message.