TeamFoundationWebService.HandleException Method
This basic WebService ExceptionHandler captures the exception and records it in the request Context for future logging.
Services may decide 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.Framework.Server.WebServices
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.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
exception
Type: System.ExceptionException that caused the request to fail.
Return Value
Type: System.Exception
The resulting transformed exception, which is some form of SoapException.
.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.
See Also
Reference
TeamFoundationWebService Class
Microsoft.TeamFoundation.Framework.Server.WebServices Namespace