2 instantiations of TimeoutTimer
System.Data (2)
fx\src\data\System\Data\ProviderBase\TimeoutTimer.cs (2)
48
var timeout = new
TimeoutTimer
();
68
var timeout = new
TimeoutTimer
();
17 references to TimeoutTimer
System.Data (17)
fx\src\data\System\Data\ProviderBase\TimeoutTimer.cs (4)
41
internal static
TimeoutTimer
StartSecondsTimeout(int seconds)
48
var
timeout = new TimeoutTimer();
60
internal static
TimeoutTimer
StartMillisecondsTimeout(long milliseconds)
68
var
timeout = new TimeoutTimer();
fx\src\data\System\Data\SqlClient\SqlInternalConnectionTds.cs (13)
177
private readonly
TimeoutTimer
_timeout;
411
_timeout =
TimeoutTimer
.StartSecondsTimeout(connectionOptions.ConnectTimeout);
1256
private void Login(ServerInfo server,
TimeoutTimer
timeout, string newPassword, SecureString newSecurePassword) {
1372
private void OpenLoginEnlist(
TimeoutTimer
timeout, SqlConnectionString connectionOptions, SqlCredential credential,
1464
SqlConnectionString connectionOptions, SqlCredential credential,
TimeoutTimer
timeout) {
1504
TimeoutTimer
intervalTimer = null;
1506
TimeoutTimer
attemptOneLoginTimeout = timeout;
1533
intervalTimer =
TimeoutTimer
.StartMillisecondsTimeout(nextTimeoutInterval);
1682
private bool AttemptRetryADAuthWithTimeoutError(SqlException sqlex, SqlConnectionString connectionOptions,
TimeoutTimer
timeout) {
1722
TimeoutTimer
timeout
1773
TimeoutTimer
intervalTimer =
TimeoutTimer
.StartMillisecondsTimeout(nextTimeoutInterval);
1952
private void AttemptOneLogin(ServerInfo serverInfo, string newPassword, SecureString newSecurePassword, bool ignoreSniOpenTimeout,
TimeoutTimer
timeout, bool withFailover = false, bool isFirstTransparentAttempt = true, bool disableTnir = false)