TeamFoundationSqlResourceComponent.CanRetryOnSqlError Method
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Protected Function CanRetryOnSqlError ( _
errorNumber As Integer, _
errorClass As Byte _
) As Boolean
protected bool CanRetryOnSqlError(
int errorNumber,
byte errorClass
)
protected:
bool CanRetryOnSqlError(
int errorNumber,
unsigned char errorClass
)
member CanRetryOnSqlError :
errorNumber:int *
errorClass:byte -> bool
protected function CanRetryOnSqlError(
errorNumber : int,
errorClass : byte
) : boolean
Parameters
- errorNumber
Type: System.Int32
- errorClass
Type: System.Byte
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.