24 references to Timer
mscorlib (4)
system\runtime\remoting\leasemanager.cs (1)
88
leaseTimer = new
Timer
(leaseTimeAnalyzerDelegate, null, Timeout.Infinite, Timeout.Infinite);
system\threading\CancellationTokenSource.cs (2)
330
m_timer = new
Timer
(s_timerCallback, this, millisecondsDelay, -1);
486
Timer newTimer = new
Timer
(s_timerCallback, this, -1, -1);
system\threading\Tasks\Task.cs (1)
5896
promise.Timer = new
Timer
(state => ((DelayPromise)state).Complete(), promise, millisecondsDelay, Timeout.Infinite);
PresentationCore (1)
Core\CSharp\System\IO\Packaging\PackWebResponse.cs (1)
125
_timeoutTimer = new
Timer
(new TimerCallback(TimeoutCallback), null, innerRequest.Timeout, Timeout.Infinite);
System (4)
net\System\Net\mail\SmtpClient.cs (1)
487
timer = new
Timer
(new TimerCallback(this.TimeOutCallback), null, Timeout, Timeout);
net\System\Net\WebSockets\WebSocketBase.cs (2)
2277
m_KeepAliveTimer = new
Timer
(s_KeepAliveTimerElapsedCallback, webSocket, Timeout.Infinite,
2286
m_KeepAliveTimer = new
Timer
(s_KeepAliveTimerElapsedCallback, webSocket, Timeout.Infinite,
services\timers\system\timers\Timer.cs (1)
133
timer = new System.Threading.
Timer
(callback, cookie, i, autoReset? i:Timeout.Infinite);
System.Data (6)
fx\src\data\System\Data\ProviderBase\DbConnectionFactory.cs (1)
160
return new
Timer
(callback, null, PruningDueTime, PruningPeriod);
fx\src\data\System\Data\ProviderBase\DbConnectionPool.cs (2)
749
return (new
Timer
(new TimerCallback(this.CleanupCallback), null, _cleanupWait, _cleanupWait));
850
Timer t = new
Timer
(new TimerCallback(this.ErrorCallback), null, Timeout.Infinite, Timeout.Infinite);
fx\src\data\System\Data\SqlClient\SqlDependencyListener.cs (1)
731
_retryTimer = new
Timer
(new TimerCallback(Restart), null, _defaultWaitforTimeout, Timeout.Infinite);
fx\src\data\System\Data\SqlClient\SqlDependencyUtils.cs (1)
104
_timeoutTimer = new
Timer
(new TimerCallback(TimeoutTimerCallback), null, Timeout.Infinite, Timeout.Infinite);
fx\src\data\System\Data\SqlClient\TdsParserStateObject.cs (1)
2141
_networkPacketTimeout = new
Timer
(OnTimeout, null, Timeout.Infinite, Timeout.Infinite);
System.Data.Entity (2)
System\Data\Common\QueryCache\QueryCacheManager.cs (1)
379
this._timer = new
Timer
(QueryCacheManager.CacheRecyclerHandler, _cacheManager, _period, _period);
System\Data\Metadata\MetadataCache.cs (1)
68
private static Timer timer = new
Timer
(PeriodicCleanupCallback, null, cleanupPeriod, cleanupPeriod);
System.Runtime.Caching (1)
System\Caching\MemoryCacheStatistics.cs (1)
135
Timer timer = new
Timer
(new TimerCallback(CacheManagerTimerCallback), null, _configPollingInterval, _configPollingInterval);
System.Transactions (2)
System\Transactions\Oletx\OletxResourceManager.cs (1)
620
this.reenlistThreadTimer = new
Timer
( this.ReenlistThread,
System\Transactions\TransactionTable.cs (1)
172
this.timer = new
Timer
( new TimerCallback(ThreadTimer), null, Timeout.Infinite, this.timerInterval );
System.Web (3)
Cache\SqlCacheDependency.cs (1)
735
state._timer = new
Timer
(s_timerCallback, state, 0 /* dueTime */, sqlDepDB.PollTime /* period */);
HttpRuntime.cs (1)
376
_appDomainShutdownTimer = new
Timer
(
UI\LegacyPageAsyncTaskManager.cs (1)
364
_timeoutTimer = new
Timer
(new TimerCallback(this.TimeoutTimerCallback), null, (int)timerPeriod, -1);
System.Workflow.Runtime (1)
DebugEngine\DebugController.cs (1)
358
this.attachTimer = new
Timer
(AttachTimerCallback, null, attachTimeout, detachPingInterval);