Handle errors in the application. Exceptions are logged and reported through Watson.
Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Protected Sub Application_Error ( _
    sender As Object, _
    e As EventArgs _
)
protected void Application_Error(
    Object sender,
    EventArgs e
)
protected:
void Application_Error(
    Object^ sender, 
    EventArgs^ e
)
member Application_Error : 
        sender:Object * 
        e:EventArgs -> unit
protected function Application_Error(
    sender : Object, 
    e : EventArgs
)
Parameters
- sender
 Type: System.Object
- e
 Type: System.EventArgs
Remarks
Exceptions will be traced
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.