Condividi tramite


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

Return Value

Type: System.Boolean
Returns Boolean.

Remarks

Deadlocks are retried up to the per-command limit.

.NET Framework Security

See Also

Reference

TeamFoundationSqlResourceComponent Class

Microsoft.TeamFoundation.Framework.Server Namespace