9 references to Number
System.Data (9)
fx\src\data\System\Data\SqlClient\SqlCommand.cs (4)
2244
if ( (usedCache && (sqlEx.Errors[i].
Number
== TdsEnums.TCE_CONVERSION_ERROR_CLIENT_RETRY) ) ||
2245
(ShouldUseEnclaveBasedWorkflow && (sqlEx.Errors[i].
Number
== TdsEnums.TCE_ENCLAVE_INVALID_SESSION_HANDLE) ) ){
4200
if ( (usedCache && (ex.Errors[i].
Number
== TdsEnums.TCE_CONVERSION_ERROR_CLIENT_RETRY) ) ||
4201
(ShouldUseEnclaveBasedWorkflow && (ex.Errors[i].
Number
== TdsEnums.TCE_ENCLAVE_INVALID_SESSION_HANDLE) ) ) {
fx\src\data\System\Data\SqlClient\SqlException.cs (2)
89
get { return this.Errors[0].
Number
;}
179
exception.Data.Add("HelpLink.EvtID", errorCollection[0].
Number
.ToString(CultureInfo.InvariantCulture));
fx\src\data\System\Data\SqlClient\SqlInternalConnectionTds.cs (1)
513
if (transientErrors.Contains(error.
Number
))
fx\src\data\System\Data\SqlClient\TdsParser.cs (2)
1254
if ((_state == TdsParserState.OpenNotLoggedIn) && (_connHandler.ConnectionOptions.TransparentNetworkIPResolution || _connHandler.ConnectionOptions.MultiSubnetFailover || _loginWithFailover) && (temp.Count == 1) && ((temp[0].
Number
== TdsEnums.TIMEOUT_EXPIRED) || (temp[0].
Number
== TdsEnums.SNI_WAIT_TIMEOUT))) {