Delen via


TeamFoundationPage.HandleException Method

This basic WebService ExceptionHandler captures the exception and records it in the request Context for future logging. Services may choose to over-ride this method, perform some actions based on the exception, changing the exception, eating it or just letting it pass.

Namespace:  Microsoft.TeamFoundation.Server.Core
Assembly:  Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)

Syntax

'Declaration
Protected Overridable Function HandleException ( _
    exception As Exception _
) As Exception
protected virtual Exception HandleException(
    Exception exception
)
protected:
virtual Exception^ HandleException(
    Exception^ exception
)
abstract HandleException : 
        exception:Exception -> Exception  
override HandleException : 
        exception:Exception -> Exception
protected function HandleException(
    exception : Exception
) : Exception

Parameters

Return Value

Type: System.Exception
The resulting exception, the base class returns the exception passed.

.NET Framework Security

See Also

Reference

TeamFoundationPage Class

Microsoft.TeamFoundation.Server.Core Namespace