다음을 통해 공유


TeamFoundationWebService.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.WebServices
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 transformed exception, which is some form of SoapException.

.NET Framework Security

See Also

Reference

TeamFoundationWebService Class

Microsoft.TeamFoundation.Server.Core.WebServices Namespace