TeamFoundationSqlResourceComponent.HandleException Method
Determine whether the SQL exception can be handled; SQL exceptions that cannot be retried or mapped are "unhandled."
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Protected Function HandleException ( _
exception As Exception _
) As Boolean
protected bool HandleException(
Exception exception
)
protected:
bool HandleException(
Exception^ exception
)
member HandleException :
exception:Exception -> bool
protected function HandleException(
exception : Exception
) : boolean
Parameters
- exception
Type: System.Exception
Return Value
Type: System.Boolean
Returns Boolean.
.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.