41 instantiations of Timer
mscorlib (4)
system\runtime\remoting\leasemanager.cs (1)
88leaseTimer = new Timer(leaseTimeAnalyzerDelegate, null, Timeout.Infinite, Timeout.Infinite);
system\threading\CancellationTokenSource.cs (2)
330m_timer = new Timer(s_timerCallback, this, millisecondsDelay, -1); 486Timer newTimer = new Timer(s_timerCallback, this, -1, -1);
system\threading\Tasks\Task.cs (1)
5896promise.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 (5)
net\System\Net\_AutoWebProxyScriptEngine.cs (1)
231retryWinHttpGetProxyForUrlTimer = new Timer(s =>
net\System\Net\mail\SmtpClient.cs (1)
487timer = new Timer(new TimerCallback(this.TimeOutCallback), null, Timeout, Timeout);
net\System\Net\WebSockets\WebSocketBase.cs (2)
2277m_KeepAliveTimer = new Timer(s_KeepAliveTimerElapsedCallback, webSocket, Timeout.Infinite, 2286m_KeepAliveTimer = new Timer(s_KeepAliveTimerElapsedCallback, webSocket, Timeout.Infinite,
services\timers\system\timers\Timer.cs (1)
133timer = new System.Threading.Timer(callback, cookie, i, autoReset? i:Timeout.Infinite);
System.Data (6)
fx\src\data\System\Data\ProviderBase\DbConnectionFactory.cs (1)
160return new Timer(callback, null, PruningDueTime, PruningPeriod);
fx\src\data\System\Data\ProviderBase\DbConnectionPool.cs (2)
749return (new Timer(new TimerCallback(this.CleanupCallback), null, _cleanupWait, _cleanupWait)); 850Timer 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)
379this._timer = new Timer(QueryCacheManager.CacheRecyclerHandler, _cacheManager, _period, _period);
System\Data\Metadata\MetadataCache.cs (1)
68private static Timer timer = new Timer(PeriodicCleanupCallback, null, cleanupPeriod, cleanupPeriod);
System.Runtime.Caching (1)
System\Caching\MemoryCacheStatistics.cs (1)
135Timer timer = new Timer(new TimerCallback(CacheManagerTimerCallback), null, _configPollingInterval, _configPollingInterval);
System.Transactions (6)
System\Transactions\Oletx\OletxResourceManager.cs (1)
620this.reenlistThreadTimer = new Timer( this.ReenlistThread,
System\Transactions\TransactionScope.cs (4)
159scopeTimer = new Timer( 256scopeTimer = new Timer( 349scopeTimer = new Timer( 556scopeTimer = new Timer(
System\Transactions\TransactionTable.cs (1)
172this.timer = new Timer( new TimerCallback(ThreadTimer), null, Timeout.Infinite, this.timerInterval );
System.Web (11)
Cache\SqlCacheDependency.cs (1)
735state._timer = new Timer(s_timerCallback, state, 0 /* dueTime */, sqlDepDB.PollTime /* period */);
HttpRuntime.cs (1)
376_appDomainShutdownTimer = new Timer(
IdleTimeoutMonitor.cs (1)
25_timer = new Timer(new TimerCallback(this.TimerCompletionCallback), null, _timerPeriod, _timerPeriod);
Management\AppDomainResourcePerfCounters.cs (1)
30_Timer = new Timer((new AppDomainResourcePerfCounters()).TimerCallback, null,
Management\webeventbuffer.cs (1)
259_timer = new System.Threading.Timer(new TimerCallback(this.FlushTimerCallback),
Management\WebEvents.cs (1)
2446s_heartbeatTimer = new Timer(new TimerCallback(this.HeartbeatCallback), null,
RequestQueue.cs (1)
140_timer = new Timer(new TimerCallback(this.TimerCompletionCallback), null, _timerPeriod, _timerPeriod);
RequestTimeoutManager.cs (1)
43_timer = new Timer(new TimerCallback(this.TimerCompletionCallback), null, _timerPeriod, _timerPeriod);
State\SessionStateModule.cs (1)
1036_timer = new Timer(_timerCallback, _timerId, LOCKED_ITEM_POLLING_INTERVAL, LOCKED_ITEM_POLLING_INTERVAL);
UI\LegacyPageAsyncTaskManager.cs (1)
364_timeoutTimer = new Timer(new TimerCallback(this.TimeoutTimerCallback), null, (int)timerPeriod, -1);
Util\ResourcePool.cs (1)
106_timer = new Timer(_callback, null, _interval, _interval);
System.Workflow.Runtime (4)
DebugEngine\DebugController.cs (1)
358this.attachTimer = new Timer(AttachTimerCallback, null, attachTimeout, detachPingInterval);
Hosting\DefaultWorkflowSchedulerService.cs (1)
258return new Timer(timerCallback, info.State, span, infinite);
Hosting\ManualWorkflowSchedulerService.cs (1)
270return new Timer(timerCallback, info.InstanceId, span, infinite);
Hosting\SqlWorkflowPersistenceService.cs (1)
1203this.timer = new Timer(HandleCallback, state, due, infinite);
WindowsBase (1)
Base\System\Windows\Threading\DispatcherOperation.cs (1)
619_waitTimer = new Timer(new TimerCallback(OnTimeout),
68 references to Timer
mscorlib (15)
system\iappdomainpausemanager.cs (2)
78Timer.Pause(); 97Timer.Resume();
system\runtime\remoting\leasemanager.cs (1)
38private volatile Timer leaseTimer;
system\threading\CancellationTokenSource.cs (3)
84private volatile Timer m_timer; 486Timer newTimer = new Timer(s_timerCallback, this, -1, -1); 726Timer timer = m_timer;
system\threading\Tasks\Task.cs (1)
5922internal Timer Timer;
system\threading\timer.cs (8)
201if (Timer.UseNetCoreTimer) 750Contract.Assert((timer is NetCore.TimerQueueTimer) == Timer.UseNetCoreTimer); 770if (Timer.UseNetCoreTimer) 785Contract.Assert(!Timer.UseNetCoreTimer); 797Contract.Assert(Timer.UseNetCoreTimer); 806Timer.UseNetCoreTimer ? NetCoreTimer.Change(dueTime, period) : NetFxTimer.Change(dueTime, period); 810if (Timer.UseNetCoreTimer) 824bool result = Timer.UseNetCoreTimer ? NetCoreTimer.Close(notifyObject) : NetFxTimer.Close(notifyObject);
PresentationCore (1)
Core\CSharp\System\IO\Packaging\PackWebResponse.cs (1)
1002private Timer _timeoutTimer; // used if Timeout specified
System (4)
net\System\Net\_AutoWebProxyScriptEngine.cs (1)
33private Timer retryWinHttpGetProxyForUrlTimer;
net\System\Net\mail\SmtpClient.cs (1)
52Timer timer;
net\System\Net\WebSockets\WebSocketBase.cs (1)
2239private Timer m_KeepAliveTimer;
services\timers\system\timers\Timer.cs (1)
37private System.Threading.Timer timer;
System.Data (14)
fx\src\data\System\Data\ProviderBase\DbConnectionFactory.cs (2)
24private readonly Timer _pruningTimer; 158private Timer CreatePruningTimer() {
fx\src\data\System\Data\ProviderBase\DbConnectionPool.cs (6)
451private Timer _errorTimer; 453private Timer _cleanupTimer; 748private Timer CreateCleanupTimer() { 850Timer t = new Timer(new TimerCallback(this.ErrorCallback), null, Timeout.Infinite, Timeout.Infinite); 1048Timer t = _errorTimer; 1764Timer t = _cleanupTimer;
fx\src\data\System\Data\SqlClient\SqlDependencyListener.cs (2)
68private Timer _retryTimer = null; 823Timer retryTimer = _retryTimer;
fx\src\data\System\Data\SqlClient\SqlDependencyUtils.cs (1)
82private Timer _timeoutTimer;
fx\src\data\System\Data\SqlClient\TdsParserStateObject.cs (3)
190private Timer _networkPacketTimeout; 848Timer networkPacketTimeout = _networkPacketTimeout; 2446Timer networkPacketTimeout = _networkPacketTimeout;
System.Data.Entity (4)
System\Data\Common\QueryCache\QueryCacheManager.cs (3)
364/// <summary>The underlying <see cref="Timer"/> that implements the periodic callback</summary> 365private Timer _timer; 419/// otherwise, returns <c>true</c> to indicate that the call successfully suspended the inderlying <see cref="Timer"/>
System\Data\Metadata\MetadataCache.cs (1)
68private static Timer timer = new Timer(PeriodicCleanupCallback, null, cleanupPeriod, cleanupPeriod);
System.Runtime.Caching (5)
System\Caching\MemoryCacheStatistics.cs (5)
30private GCHandleRef<Timer> _timerHandleRef; 50Timer timer = _timerHandleRef.Target; 135Timer timer = new Timer(new TimerCallback(CacheManagerTimerCallback), null, _configPollingInterval, _configPollingInterval); 136_timerHandleRef = new GCHandleRef<Timer>(timer); 256GCHandleRef<Timer> timerHandleRef = _timerHandleRef;
System.Transactions (5)
System\Transactions\Oletx\OletxResourceManager.cs (3)
49internal Timer reenlistThreadTimer; 555Timer localTimer = null; 673Timer localTimer = null;
System\Transactions\TransactionScope.cs (1)
1426Timer scopeTimer;
System\Transactions\TransactionTable.cs (1)
148System.Threading.Timer timer;
System.Web (13)
Cache\SqlCacheDependency.cs (1)
475internal Timer _timer;
HttpRuntime.cs (2)
239private Timer _appDomainShutdownTimer = null; 355Timer timer = _appDomainShutdownTimer;
IdleTimeoutMonitor.cs (1)
20private Timer _timer;
Management\AppDomainResourcePerfCounters.cs (1)
65private static Timer _Timer = null;
Management\webeventbuffer.cs (1)
108Timer _timer;
Management\WebEvents.cs (1)
2327static Timer s_heartbeatTimer = null;
RequestQueue.cs (1)
43private Timer _timer;
RequestTimeoutManager.cs (1)
21private Timer _timer;
State\SessionStateModule.cs (1)
199Timer _timer;
UI\LegacyPageAsyncTaskManager.cs (2)
30private Timer _timeoutTimer; 368Timer timer = _timeoutTimer;
Util\ResourcePool.cs (1)
21Timer _timer; // periodic timer
System.Workflow.Runtime (6)
DebugEngine\DebugController.cs (1)
52private Timer attachTimer;
Hosting\DefaultWorkflowSchedulerService.cs (2)
18private Timer callbackTimer; 252private Timer CreateTimerCallback(CallbackInfo info)
Hosting\ManualWorkflowSchedulerService.cs (2)
53private Timer callbackTimer; 261private Timer CreateTimerCallback(CallbackInfo info)
Hosting\SqlWorkflowPersistenceService.cs (1)
1190private Timer timer;
WindowsBase (1)
Base\System\Windows\Threading\DispatcherOperation.cs (1)
659private Timer _waitTimer;