TeamFoundationSqlResourceComponent.CanRetryOnException Method
Indicates whether the SQL exception can be retried.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Protected Function CanRetryOnException ( _
exception As Exception _
) As Boolean
protected bool CanRetryOnException(
Exception exception
)
protected:
bool CanRetryOnException(
Exception^ exception
)
member CanRetryOnException :
exception:Exception -> bool
protected function CanRetryOnException(
exception : Exception
) : boolean
Parameters
- exception
Type: System.Exception
Return Value
Type: System.Boolean
Returns Boolean.
Remarks
Deadlocks are retried up to the per-command limit.
.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.