41 instantiations of 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 (5)
net\System\Net\_AutoWebProxyScriptEngine.cs (1)
231
retryWinHttpGetProxyForUrlTimer = new
Timer
(s =>
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 (6)
System\Transactions\Oletx\OletxResourceManager.cs (1)
620
this.reenlistThreadTimer = new
Timer
( this.ReenlistThread,
System\Transactions\TransactionScope.cs (4)
159
scopeTimer = new
Timer
(
256
scopeTimer = new
Timer
(
349
scopeTimer = new
Timer
(
556
scopeTimer = new
Timer
(
System\Transactions\TransactionTable.cs (1)
172
this.timer = new
Timer
( new TimerCallback(ThreadTimer), null, Timeout.Infinite, this.timerInterval );
System.Web (11)
Cache\SqlCacheDependency.cs (1)
735
state._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)
2446
s_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)
358
this.attachTimer = new
Timer
(AttachTimerCallback, null, attachTimeout, detachPingInterval);
Hosting\DefaultWorkflowSchedulerService.cs (1)
258
return new
Timer
(timerCallback, info.State, span, infinite);
Hosting\ManualWorkflowSchedulerService.cs (1)
270
return new
Timer
(timerCallback, info.InstanceId, span, infinite);
Hosting\SqlWorkflowPersistenceService.cs (1)
1203
this.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)
78
Timer
.Pause();
97
Timer
.Resume();
system\runtime\remoting\leasemanager.cs (1)
38
private volatile
Timer
leaseTimer;
system\threading\CancellationTokenSource.cs (3)
84
private volatile
Timer
m_timer;
486
Timer
newTimer = new Timer(s_timerCallback, this, -1, -1);
726
Timer
timer = m_timer;
system\threading\Tasks\Task.cs (1)
5922
internal
Timer
Timer;
system\threading\timer.cs (8)
201
if (
Timer
.UseNetCoreTimer)
750
Contract.Assert((timer is NetCore.TimerQueueTimer) ==
Timer
.UseNetCoreTimer);
770
if (
Timer
.UseNetCoreTimer)
785
Contract.Assert(!
Timer
.UseNetCoreTimer);
797
Contract.Assert(
Timer
.UseNetCoreTimer);
806
Timer
.UseNetCoreTimer ? NetCoreTimer.Change(dueTime, period) : NetFxTimer.Change(dueTime, period);
810
if (
Timer
.UseNetCoreTimer)
824
bool result =
Timer
.UseNetCoreTimer ? NetCoreTimer.Close(notifyObject) : NetFxTimer.Close(notifyObject);
PresentationCore (1)
Core\CSharp\System\IO\Packaging\PackWebResponse.cs (1)
1002
private
Timer
_timeoutTimer; // used if Timeout specified
System (4)
net\System\Net\_AutoWebProxyScriptEngine.cs (1)
33
private
Timer
retryWinHttpGetProxyForUrlTimer;
net\System\Net\mail\SmtpClient.cs (1)
52
Timer
timer;
net\System\Net\WebSockets\WebSocketBase.cs (1)
2239
private
Timer
m_KeepAliveTimer;
services\timers\system\timers\Timer.cs (1)
37
private System.Threading.
Timer
timer;
System.Data (14)
fx\src\data\System\Data\ProviderBase\DbConnectionFactory.cs (2)
24
private readonly
Timer
_pruningTimer;
158
private
Timer
CreatePruningTimer() {
fx\src\data\System\Data\ProviderBase\DbConnectionPool.cs (6)
451
private
Timer
_errorTimer;
453
private
Timer
_cleanupTimer;
748
private
Timer
CreateCleanupTimer() {
850
Timer
t = new Timer(new TimerCallback(this.ErrorCallback), null, Timeout.Infinite, Timeout.Infinite);
1048
Timer
t = _errorTimer;
1764
Timer
t = _cleanupTimer;
fx\src\data\System\Data\SqlClient\SqlDependencyListener.cs (2)
68
private
Timer
_retryTimer = null;
823
Timer
retryTimer = _retryTimer;
fx\src\data\System\Data\SqlClient\SqlDependencyUtils.cs (1)
82
private
Timer
_timeoutTimer;
fx\src\data\System\Data\SqlClient\TdsParserStateObject.cs (3)
190
private
Timer
_networkPacketTimeout;
848
Timer
networkPacketTimeout = _networkPacketTimeout;
2446
Timer
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>
365
private
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)
68
private static
Timer
timer = new Timer(PeriodicCleanupCallback, null, cleanupPeriod, cleanupPeriod);
System.Runtime.Caching (5)
System\Caching\MemoryCacheStatistics.cs (5)
30
private GCHandleRef<
Timer
> _timerHandleRef;
50
Timer
timer = _timerHandleRef.Target;
135
Timer
timer = new Timer(new TimerCallback(CacheManagerTimerCallback), null, _configPollingInterval, _configPollingInterval);
136
_timerHandleRef = new GCHandleRef<
Timer
>(timer);
256
GCHandleRef<
Timer
> timerHandleRef = _timerHandleRef;
System.Transactions (5)
System\Transactions\Oletx\OletxResourceManager.cs (3)
49
internal
Timer
reenlistThreadTimer;
555
Timer
localTimer = null;
673
Timer
localTimer = null;
System\Transactions\TransactionScope.cs (1)
1426
Timer
scopeTimer;
System\Transactions\TransactionTable.cs (1)
148
System.Threading.
Timer
timer;
System.Web (13)
Cache\SqlCacheDependency.cs (1)
475
internal
Timer
_timer;
HttpRuntime.cs (2)
239
private
Timer
_appDomainShutdownTimer = null;
355
Timer
timer = _appDomainShutdownTimer;
IdleTimeoutMonitor.cs (1)
20
private
Timer
_timer;
Management\AppDomainResourcePerfCounters.cs (1)
65
private static
Timer
_Timer = null;
Management\webeventbuffer.cs (1)
108
Timer
_timer;
Management\WebEvents.cs (1)
2327
static
Timer
s_heartbeatTimer = null;
RequestQueue.cs (1)
43
private
Timer
_timer;
RequestTimeoutManager.cs (1)
21
private
Timer
_timer;
State\SessionStateModule.cs (1)
199
Timer
_timer;
UI\LegacyPageAsyncTaskManager.cs (2)
30
private
Timer
_timeoutTimer;
368
Timer
timer = _timeoutTimer;
Util\ResourcePool.cs (1)
21
Timer
_timer; // periodic timer
System.Workflow.Runtime (6)
DebugEngine\DebugController.cs (1)
52
private
Timer
attachTimer;
Hosting\DefaultWorkflowSchedulerService.cs (2)
18
private
Timer
callbackTimer;
252
private
Timer
CreateTimerCallback(CallbackInfo info)
Hosting\ManualWorkflowSchedulerService.cs (2)
53
private
Timer
callbackTimer;
261
private
Timer
CreateTimerCallback(CallbackInfo info)
Hosting\SqlWorkflowPersistenceService.cs (1)
1190
private
Timer
timer;
WindowsBase (1)
Base\System\Windows\Threading\DispatcherOperation.cs (1)
659
private
Timer
_waitTimer;