260 references to Infinite
mscorlib (72)
system\runtime\compilerservices\TaskAwaiter.cs (1)
148
bool taskCompleted = task.InternalWait(Timeout.
Infinite
, default(CancellationToken));
system\runtime\interopservices\windowsruntime\windowsruntimemarshal.cs (4)
480
s_eventCacheRWLock.AcquireWriterLock(Timeout.
Infinite
);
581
s_eventCacheRWLock.AcquireReaderLock(Timeout.
Infinite
);
703
s_eventCacheRWLock.AcquireReaderLock(Timeout.
Infinite
);
780
s_eventCacheRWLock.AcquireReaderLock(Timeout.
Infinite
);
system\runtime\remoting\leasemanager.cs (4)
88
leaseTimer = new Timer(leaseTimeAnalyzerDelegate, null, Timeout.
Infinite
, Timeout.
Infinite
);
89
leaseTimer.Change((int)pollTime.TotalMilliseconds, Timeout.
Infinite
);
265
leaseTimer.Change((int)pollTime.TotalMilliseconds, Timeout.
Infinite
);
system\runtime\remoting\realproxy.cs (1)
593
Timeout.
Infinite
,
system\threading\CountdownEvent.cs (4)
442
Wait(Timeout.
Infinite
, new CancellationToken());
465
Wait(Timeout.
Infinite
, cancellationToken);
528
/// cref="Timeout.
Infinite
"/>(-1) to wait indefinitely.</param>
546
/// cref="Timeout.
Infinite
"/>(-1) to wait indefinitely.</param>
system\threading\ManualResetEventSlim.cs (5)
426
Wait(Timeout.
Infinite
, new CancellationToken());
446
Wait(Timeout.
Infinite
, cancellationToken);
511
/// cref="Timeout.
Infinite
"/>(-1) to wait indefinitely.</param>
530
/// cref="Timeout.
Infinite
"/>(-1) to wait indefinitely.</param>
566
if (millisecondsTimeout != Timeout.
Infinite
)
system\threading\monitor.cs (1)
223
return Wait(obj, Timeout.
Infinite
, false);
system\threading\SemaphoreSlim.cs (12)
210
Wait(Timeout.
Infinite
, new CancellationToken());
226
Wait(Timeout.
Infinite
, cancellationToken);
290
/// cref="Timeout.
Infinite
"/>(-1) to wait indefinitely.</param>
306
/// <param name="millisecondsTimeout">The number of milliseconds to wait, or <see cref="Timeout.
Infinite
"/>(-1) to
327
if (millisecondsTimeout != Timeout.
Infinite
&& millisecondsTimeout > 0)
451
int remainingWaitMilliseconds = Timeout.
Infinite
;
459
if (millisecondsTimeout != Timeout.
Infinite
)
484
return WaitAsync(Timeout.
Infinite
, default(CancellationToken));
500
return WaitAsync(Timeout.
Infinite
, cancellationToken);
508
/// The number of milliseconds to wait, or <see cref="Timeout.
Infinite
"/>(-1) to wait indefinitely.
588
/// The number of milliseconds to wait, or <see cref="Timeout.
Infinite
"/>(-1) to wait indefinitely.
631
return (millisecondsTimeout == Timeout.
Infinite
&& !cancellationToken.CanBeCanceled) ?
system\threading\SpinLock.cs (7)
171
ContinueTryEnter(Timeout.
Infinite
, ref lockTaken); // Then try the slow path if any of the above conditions is met
249
/// cref="System.Threading.Timeout.
Infinite
"/> (-1) to wait indefinitely.</param>
302
if (millisecondsTimeout != Timeout.
Infinite
&& millisecondsTimeout != 0)
370
(millisecondsTimeout != Timeout.
Infinite
&&
420
if (millisecondsTimeout != Timeout.
Infinite
&& TimeoutHelper.UpdateTimeOut(startTime, millisecondsTimeout) <= 0)
479
if (millisecondsTimeout != Timeout.
Infinite
&& TimeoutHelper.UpdateTimeOut(startTime, millisecondsTimeout) <= 0)
565
(millisecondsTimeout != Timeout.
Infinite
&& spinner.NextSpinWillYield &&
system\threading\SpinWait.cs (6)
205
SpinUntil(condition, Timeout.
Infinite
);
242
/// cref="System.Threading.Timeout.
Infinite
"/> (-1) to wait indefinitely.</param>
249
if (millisecondsTimeout < Timeout.
Infinite
)
259
if (millisecondsTimeout != 0 && millisecondsTimeout != Timeout.
Infinite
)
273
if (millisecondsTimeout != Timeout.
Infinite
&& spinner.NextSpinWillYield)
355
Contract.Assert(originalWaitMillisecondsTimeout != Timeout.
Infinite
);
system\threading\Tasks\Future.cs (1)
556
if (!IsCompleted) InternalWait(Timeout.
Infinite
, default(CancellationToken)); // won't throw if task faulted or canceled; that's handled below
system\threading\Tasks\FutureFactory.cs (1)
750
Timeout.
Infinite
,
system\threading\Tasks\Task.cs (21)
1229
SpinThenBlockingWait(Timeout.
Infinite
, default(CancellationToken));
3049
Wait(Timeout.
Infinite
, default(CancellationToken));
3102
Wait(Timeout.
Infinite
, cancellationToken);
3110
/// The number of milliseconds to wait, or <see cref="System.Threading.Timeout.
Infinite
"/> (-1) to
3133
/// The number of milliseconds to wait, or <see cref="System.Threading.Timeout.
Infinite
"/> (-1) to
3252
if (millisecondsTimeout == Timeout.
Infinite
&& !cancellationToken.CanBeCanceled &&
3263
Contract.Assert(IsCompleted || millisecondsTimeout != Timeout.
Infinite
);
3309
bool infiniteWait = millisecondsTimeout == Timeout.
Infinite
;
3320
returnValue = mres.Wait(Timeout.
Infinite
, cancellationToken);
4893
WaitAll(tasks, Timeout.
Infinite
);
4950
/// The number of milliseconds to wait, or <see cref="System.Threading.Timeout.
Infinite
"/> (-1) to
5003
WaitAll(tasks, Timeout.
Infinite
, cancellationToken);
5017
/// The number of milliseconds to wait, or <see cref="System.Threading.Timeout.
Infinite
"/> (-1) to
5084
if (millisecondsTimeout != Timeout.
Infinite
|| cancellationToken.CanBeCanceled)
5267
task.SpinThenBlockingWait(Timeout.
Infinite
, default(CancellationToken));
5324
int waitResult = WaitAny(tasks, Timeout.
Infinite
);
5390
return WaitAny(tasks, Timeout.
Infinite
, cancellationToken);
5400
/// The number of milliseconds to wait, or <see cref="System.Threading.Timeout.
Infinite
"/> (-1) to
5430
/// The number of milliseconds to wait, or <see cref="System.Threading.Timeout.
Infinite
"/> (-1) to
5894
if (millisecondsDelay != Timeout.
Infinite
) // no need to create the timer if it's an infinite timeout
5896
promise.Timer = new Timer(state => ((DelayPromise)state).Complete(), promise, millisecondsDelay, Timeout.
Infinite
);
system\threading\thread.cs (1)
687
JoinInternal(Timeout.
Infinite
);
system\threading\timeout.cs (1)
21
public static readonly TimeSpan InfiniteTimeSpan = new TimeSpan(0, 0, 0, 0, Timeout.
Infinite
);
system\threading\waithandle.cs (2)
391
return WaitAll(waitHandles, Timeout.
Infinite
, true);
502
return WaitAny(waitHandles, Timeout.
Infinite
, true);
PresentationCore (5)
Core\CSharp\MS\Internal\IO\Packaging\PseudoWebRequest.cs (2)
285
if (value < 0 && value != System.Threading.Timeout.
Infinite
)
357
_timeout = System.Threading.Timeout.
Infinite
; // ftp default and appropriate for cached file
Core\CSharp\System\IO\Packaging\PackWebRequest.cs (1)
429
if (value < 0 && value != System.Threading.Timeout.
Infinite
)
Core\CSharp\System\IO\Packaging\PackWebResponse.cs (2)
116
if (innerRequest.Timeout != Timeout.
Infinite
)
125
_timeoutTimer = new Timer(new TimerCallback(TimeoutCallback), null, innerRequest.Timeout, Timeout.
Infinite
);
System (88)
net\System\Net\_ConnectStream.cs (8)
99
private static volatile int responseDrainTimeoutMilliseconds = Timeout.
Infinite
;
116
if (value<=0 && value!=System.Threading.Timeout.
Infinite
) {
129
if (value<=0 && value!=System.Threading.Timeout.
Infinite
) {
204
m_ReadTimeout = m_WriteTimeout = System.Threading.Timeout.
Infinite
;
259
m_ReadTimeout = m_WriteTimeout = System.Threading.Timeout.
Infinite
;
2976
if (responseDrainTimeoutMilliseconds == Timeout.
Infinite
) {
3158
m_ReadTimeout = m_WriteTimeout = System.Threading.Timeout.
Infinite
;
3163
m_ReadTimeout = m_WriteTimeout = System.Threading.Timeout.
Infinite
;
net\System\Net\_LazyAsyncResult.cs (1)
493
waitHandle.WaitOne(Timeout.
Infinite
, false);
net\System\Net\_PooledStream.cs (1)
255
if (timeout == System.Threading.Timeout.
Infinite
) {
net\System\Net\_TimerThread.cs (6)
138
if (Duration == Timeout.
Infinite
) {
139
return Timeout.
Infinite
;
202
if (durationMilliseconds == Timeout.
Infinite
) {
225
if (durationMilliseconds == Timeout.
Infinite
) {
398
internal InfiniteTimerQueue() : base(Timeout.
Infinite
) { }
595
internal InfiniteTimer() : base(Timeout.
Infinite
) { }
net\System\Net\Cache\_SingleItemRequestCache.cs (4)
330
if (value<=0 && value!=System.Threading.Timeout.
Infinite
)
338
if (value<=0 && value!=System.Threading.Timeout.
Infinite
)
485
if (value<=0 && value!=System.Threading.Timeout.
Infinite
)
493
if (value<=0 && value!=System.Threading.Timeout.
Infinite
)
net\System\Net\Cache\IERequestCache.cs (2)
632
m_ReadTimeout = m_WriteTimeout = System.Threading.Timeout.
Infinite
;
821
m_ReadTimeout = m_WriteTimeout = System.Threading.Timeout.
Infinite
;
net\System\Net\Configuration\SettingsSection.cs (1)
180
this.downloadTimeout = (ts == TimeSpan.MaxValue || ts == TimeSpan.Zero) ? Timeout.
Infinite
: (int) ts.TotalMilliseconds;
net\System\Net\Configuration\TimeoutValidationAttribute.cs (1)
34
if (timeout <= 0 && timeout != System.Threading.Timeout.
Infinite
) {
net\System\Net\connectionpool.cs (1)
766
PutConnection(pooledStream, null, Timeout.
Infinite
);
net\System\Net\filewebrequest.cs (3)
198
if ((value < 0) && (value != System.Threading.Timeout.
Infinite
)) {
376
if ((Timeout != System.Threading.Timeout.
Infinite
) && !result.IsCompleted) {
405
if ((Timeout != System.Threading.Timeout.
Infinite
) && !result.IsCompleted) {
net\System\Net\FtpWebRequest.cs (6)
368
if (value<0 && value!=System.Threading.Timeout.
Infinite
) {
405
if (value<=0 && value!=System.Threading.Timeout.
Infinite
) {
586
if (Timeout != System.Threading.Timeout.
Infinite
)
906
if (Timeout != System.Threading.Timeout.
Infinite
)
1093
if (Timeout != System.Threading.Timeout.
Infinite
)
1111
if (Timeout != System.Threading.Timeout.
Infinite
)
net\System\Net\HttpWebRequest.cs (3)
1024
if (value<0 && value!=System.Threading.Timeout.
Infinite
) {
1063
if (value<=0 && value!=System.Threading.Timeout.
Infinite
) {
1078
if ((value < 0) && (value != System.Threading.Timeout.
Infinite
)) {
net\System\Net\NetWebProxyFinder.cs (1)
238
request.Timeout = Timeout.
Infinite
;
net\System\Net\ServicePoint.cs (7)
124
m_ConnectionLeaseTimeout = System.Threading.Timeout.
Infinite
;
155
m_ConnectionLeaseTimeout = System.Threading.Timeout.
Infinite
;
427
if ( !ValidationHelper.ValidateRange(value, Timeout.
Infinite
, Int32.MaxValue)) {
508
if ( !ValidationHelper.ValidateRange(value, Timeout.
Infinite
, Int32.MaxValue)) {
526
int timeLeft = value == Timeout.
Infinite
? Timeout.
Infinite
: elapsed >= value ? 0 : value - elapsed;
1578
return dnsRefreshTimeout != Timeout.
Infinite
&&
net\System\Net\ServicePointManager.cs (1)
438
if ( !ValidationHelper.ValidateRange(value, Timeout.
Infinite
, Int32.MaxValue)) {
net\System\Net\Sockets\NetworkStream.cs (2)
271
if (value<=0 && value!=System.Threading.Timeout.
Infinite
) {
303
if (value <= 0 && value != System.Threading.Timeout.
Infinite
) {
net\System\Net\Sockets\Socket.cs (1)
7541
m_RegisteredWait = ThreadPool.UnsafeRegisterWaitForSingleObject(m_AsyncEvent, s_RegisteredWaitCallback, this, Timeout.
Infinite
, true);
net\System\Net\WebSockets\WebSocketBase.cs (7)
2277
m_KeepAliveTimer = new Timer(s_KeepAliveTimerElapsedCallback, webSocket, Timeout.
Infinite
,
2278
Timeout.
Infinite
);
2280
m_KeepAliveTimer.Change(keepAliveIntervalMilliseconds, Timeout.
Infinite
);
2286
m_KeepAliveTimer = new Timer(s_KeepAliveTimerElapsedCallback, webSocket, Timeout.
Infinite
,
2287
Timeout.
Infinite
);
2289
m_KeepAliveTimer.Change(keepAliveIntervalMilliseconds, Timeout.
Infinite
);
2313
m_KeepAliveTimer.Change(dueInMilliseconds, Timeout.
Infinite
);
services\timers\system\timers\Timer.cs (2)
133
timer = new System.Threading.Timer(callback, cookie, i, autoReset? i:Timeout.
Infinite
);
147
timer.Change(i, autoReset? i :Timeout.
Infinite
);
sys\system\collections\concurrent\BlockingCollection.cs (25)
271
TryAddWithNoTimeValidation(item, Timeout.
Infinite
, new CancellationToken());
301
TryAddWithNoTimeValidation(item, Timeout.
Infinite
, cancellationToken);
352
/// cref="System.Threading.Timeout.
Infinite
"/> (-1) to wait indefinitely.</param>
376
/// cref="System.Threading.Timeout.
Infinite
"/> (-1) to wait indefinitely.</param>
554
if (!TryTake(out item, Timeout.
Infinite
, CancellationToken.None))
578
if (!TryTake(out item, Timeout.
Infinite
, cancellationToken))
629
/// cref="System.Threading.Timeout.
Infinite
"/> (-1) to wait indefinitely.</param>
652
/// cref="System.Threading.Timeout.
Infinite
"/> (-1) to wait indefinitely.</param>
812
TryAddToAny(collections, item, Timeout.
Infinite
, CancellationToken.None);
854
TryAddToAny(collections, item, Timeout.
Infinite
, cancellationToken);
922
/// cref="System.Threading.Timeout.
Infinite
"/> (-1) to wait indefinitely.</param> /// <returns>The index of the collection in the <paramref name="collections"/>
951
/// cref="System.Threading.Timeout.
Infinite
"/> (-1) to wait indefinitely.</param>
999
if (millisecondsTimeout != Timeout.
Infinite
)
1025
while (millisecondsTimeout == Timeout.
Infinite
|| timeout >= 0)
1057
if (millisecondsTimeout != Timeout.
Infinite
)
1147
Debug.Assert(originalWaitMillisecondsTimeout != Timeout.
Infinite
);
1217
int returnValue = TryTakeFromAnyCore(collections, out item, Timeout.
Infinite
, true, cancellationToken);
1288
/// cref="System.Threading.Timeout.
Infinite
"/> (-1) to wait indefinitely.</param>
1320
/// cref="System.Threading.Timeout.
Infinite
"/> (-1) to wait indefinitely.</param>
1406
if (millisecondsTimeout != Timeout.
Infinite
)
1418
while (millisecondsTimeout == Timeout.
Infinite
|| timeout >= 0)
1472
if (millisecondsTimeout != Timeout.
Infinite
)
1679
if (TryTakeWithNoTimeValidation(out item, Timeout.
Infinite
, cancellationToken, linkedTokenSource))
1781
if ((totalMilliseconds < 0 || totalMilliseconds > Int32.MaxValue) && (totalMilliseconds != Timeout.
Infinite
))
1795
if ((millisecondsTimeout < 0) && (millisecondsTimeout != Timeout.
Infinite
))
sys\system\threading\Barrier.cs (5)
532
SignalAndWait(Timeout.
Infinite
, cancellationToken);
600
/// cref="Timeout.
Infinite
"/>(-1) to wait indefinitely.</param>
622
/// cref="Timeout.
Infinite
"/>(-1) to wait indefinitely.</param>
901
int waitTime = totalTimeout == Timeout.
Infinite
? maxWait : Math.Min(maxWait, totalTimeout);
906
if (totalTimeout != Timeout.
Infinite
)
System.Core (8)
System\IO\Pipes\Pipe.cs (7)
1155
Connect(Timeout.
Infinite
);
1166
if (timeout < 0 && timeout != Timeout.
Infinite
) {
1233
while (timeout == Timeout.
Infinite
|| (elapsed = unchecked(Environment.TickCount - startTime)) < timeout);
1243
return ConnectAsync(Timeout.
Infinite
, CancellationToken.None);
1251
return ConnectAsync(Timeout.
Infinite
, cancellationToken);
1257
if (timeout < 0 && timeout != Timeout.
Infinite
) {
1358
while (timeout == Timeout.
Infinite
|| (elapsed = unchecked(Environment.TickCount - startTime)) < timeout);
System\Linq\Parallel\Scheduling\Scheduling.cs (1)
53
internal const int ZOMBIED_PRODUCER_TIMEOUT = Timeout.
Infinite
;
System.Data (24)
fx\src\data\System\Data\ProviderBase\DbConnectionPool.cs (6)
850
Timer t = new Timer(new TimerCallback(this.ErrorCallback), null, Timeout.
Infinite
, Timeout.
Infinite
);
1097
if (next.DueTime == Timeout.
Infinite
) {
1098
delay = unchecked((uint)Timeout.
Infinite
);
1181
waitForMultipleObjectsTimeout = unchecked((uint)Timeout.
Infinite
);
1203
CreationTimeout == 0 ? Timeout.
Infinite
: ADP.TimerCurrent() + ADP.TimerFromSeconds(CreationTimeout/1000),
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 (4)
104
_timeoutTimer = new Timer(new TimerCallback(TimeoutTimerCallback), null, Timeout.
Infinite
, Timeout.
Infinite
);
368
_timeoutTimer.Change(Timeout.
Infinite
, Timeout.
Infinite
);
fx\src\data\System\Data\SqlClient\SqlSequentialStream.cs (2)
34
_readTimeout = Timeout.
Infinite
;
77
if ((value > 0) || (value == Timeout.
Infinite
))
fx\src\data\System\Data\SqlClient\SqlSequentialTextReader.cs (1)
178
Task<int> getBytesTask = reader.GetBytesAsync(_columnIndex, byteBuffer, byteBufferUsed, byteBuffer.Length - byteBufferUsed, Timeout.
Infinite
, _disposalTokenSource.Token, out bytesRead);
fx\src\data\System\Data\SqlClient\SqlUtil.cs (1)
154
task.Wait(timeout > 0 ? (1000 * timeout) : Timeout.
Infinite
);
fx\src\data\System\Data\SqlClient\TdsParserSafeHandles.cs (1)
148
timeout = Timeout.
Infinite
; // -1 == native SNIOPEN_TIMEOUT_VALUE / INFINITE
fx\src\data\System\Data\SqlClient\TdsParserStateObject.cs (8)
2141
_networkPacketTimeout = new Timer(OnTimeout, null, Timeout.
Infinite
, Timeout.
Infinite
);
2149
ChangeNetworkPacketTimeout(msecsRemaining, Timeout.
Infinite
);
2194
ChangeNetworkPacketTimeout(Timeout.
Infinite
, Timeout.
Infinite
);
2198
ChangeNetworkPacketTimeout(0, Timeout.
Infinite
);
2489
ChangeNetworkPacketTimeout(Timeout.
Infinite
, Timeout.
Infinite
);
System.Data.Entity (2)
System\Data\Common\QueryCache\QueryCacheManager.cs (2)
432
this._timer.Change(Timeout.
Infinite
, Timeout.
Infinite
);
System.Data.Linq (14)
Mapping\AttributedMetaModel.cs (7)
114
@lock.AcquireReaderLock(Timeout.
Infinite
);
126
@lock.AcquireWriterLock(Timeout.
Infinite
);
160
@lock.AcquireWriterLock(Timeout.
Infinite
);
210
@lock.AcquireReaderLock(Timeout.
Infinite
);
219
@lock.AcquireWriterLock(Timeout.
Infinite
);
269
@lock.AcquireReaderLock(Timeout.
Infinite
);
285
@lock.AcquireWriterLock(Timeout.
Infinite
);
Mapping\MappedMetaModel.cs (5)
60
@lock.AcquireWriterLock(Timeout.
Infinite
);
186
@lock.AcquireReaderLock(Timeout.
Infinite
);
195
@lock.AcquireWriterLock(Timeout.
Infinite
);
268
@lock.AcquireReaderLock(Timeout.
Infinite
);
288
@lock.AcquireWriterLock(Timeout.
Infinite
);
Mapping\MappingSource.cs (2)
60
this.rwlock.AcquireReaderLock(Timeout.
Infinite
);
70
this.rwlock.AcquireWriterLock(Timeout.
Infinite
);
System.Drawing (7)
commonui\System\Drawing\ImageAnimator.cs (7)
112
rwImgListLock.AcquireReaderLock(Timeout.
Infinite
);
157
rwImgListLock.AcquireReaderLock(Timeout.
Infinite
);
205
lockDowngradeCookie = rwImgListLock.UpgradeToWriterLock(Timeout.
Infinite
);
208
rwImgListLock.AcquireWriterLock(Timeout.
Infinite
);
290
lockDowngradeCookie = rwImgListLock.UpgradeToWriterLock(Timeout.
Infinite
);
293
rwImgListLock.AcquireWriterLock(Timeout.
Infinite
);
340
rwImgListLock.AcquireReaderLock(Timeout.
Infinite
);
System.Runtime.Remoting (2)
channels\http\httpclientchannel.cs (2)
59
private int _timeout = System.Threading.Timeout.
Infinite
; // default timeout is infinite
444
private int _timeout = System.Threading.Timeout.
Infinite
; // timeout value in milliseconds (only used if greater than 0)
System.ServiceModel (7)
System\ServiceModel\Channels\HttpPipeline.cs (1)
568
this.cancellationTokenSource.CancelAfter(Timeout.
Infinite
);
System\ServiceModel\Channels\OverlappedContext.cs (3)
91
ThreadPool.UnsafeRegisterWaitForSingleObject(this.rootedHolder.EventHolder, OverlappedContext.cleanupCallback, this, Timeout.
Infinite
, true);
210
this.registration = ThreadPool.UnsafeRegisterWaitForSingleObject(this.completionEvent, OverlappedContext.eventCallback, this, Timeout.
Infinite
, true);
289
ThreadPool.UnsafeRegisterWaitForSingleObject(this.completionEvent, OverlappedContext.cleanupCallback, this, Timeout.
Infinite
, true);
System\ServiceModel\Transactions\TransactionCache.cs (3)
67
cacheLock.AcquireWriterLock(Timeout.
Infinite
);
96
cacheLock.AcquireWriterLock(Timeout.
Infinite
);
125
cacheLock.AcquireReaderLock(Timeout.
Infinite
);
System.ServiceModel.Internals (4)
System\Runtime\AsyncWaitHandle.cs (1)
125
if (!Monitor.Wait(syncObject, Timeout.
Infinite
))
System\Runtime\TaskExtensions.cs (1)
147
return task.Wait(Timeout.
Infinite
);
System\Runtime\TimeoutHelper.cs (2)
38
if (milliseconds == Timeout.
Infinite
)
52
return Timeout.
Infinite
;
System.Transactions (8)
System\Transactions\Oletx\OletxResourceManager.cs (4)
623
Timeout.
Infinite
653
if ( !this.reenlistThreadTimer.Change( 0, Timeout.
Infinite
))
929
if ( !localTimer.Change( 10000, Timeout.
Infinite
))
944
if ( !localTimer.Change( 10000, Timeout.
Infinite
))
System\Transactions\Oletx\OletxTransactionManager.cs (1)
1040
OletxTransactionManager.resourceManagerHashTableLock.AcquireReaderLock( Timeout.
Infinite
);
System\Transactions\TransactionTable.cs (3)
172
this.timer = new Timer( new TimerCallback(ThreadTimer), null, Timeout.
Infinite
, this.timerInterval );
468
if (!this.timer.Change(Timeout.
Infinite
, Timeout.
Infinite
))
System.Web (3)
Hosting\HostingEnvironment.cs (1)
1545
}, null, Timeout.
Infinite
, executeOnlyOnce: true);
Management\webeventbuffer.cs (2)
260
null, waitTimeMs, Timeout.
Infinite
);
263
_timer.Change(waitTimeMs, Timeout.
Infinite
);
System.Web.Extensions (2)
UI\WebControls\Dynamic.cs (2)
288
rwLock.AcquireReaderLock(Timeout.
Infinite
);
293
LockCookie cookie = rwLock.UpgradeToWriterLock(Timeout.
Infinite
);
System.Web.Mobile (2)
UI\MobileControls\IndividualDeviceConfig.cs (2)
360
_lock.AcquireWriterLock(Timeout.
Infinite
);
364
_lock.AcquireReaderLock(Timeout.
Infinite
);
System.Web.Services (2)
System\Web\Services\Protocols\ClientProtocol.cs (2)
212
set { timeout = (value < Threading.Timeout.
Infinite
) ? Threading.Timeout.
Infinite
: value; }
System.Workflow.Runtime (9)
DebugEngine\DebugController.cs (4)
391
this.attachTimer.Change(Timeout.
Infinite
, Timeout.
Infinite
);
449
this.attachTimer.Change(Timeout.
Infinite
, Timeout.
Infinite
);
DebugEngine\DebugControllerThread.cs (1)
166
Thread.Sleep(Timeout.
Infinite
);
Hosting\DefaultWorkflowSchedulerService.cs (1)
23
private static TimeSpan infinite = new TimeSpan(Timeout.
Infinite
);
Hosting\ManualWorkflowSchedulerService.cs (1)
56
private static TimeSpan infinite = new TimeSpan(Timeout.
Infinite
);
Hosting\SqlWorkflowPersistenceService.cs (2)
694
TimeSpan infinite = new TimeSpan(Timeout.
Infinite
);
1196
private TimeSpan infinite = new TimeSpan(Timeout.
Infinite
);
System.Xml (1)
System\Xml\Schema\XmlSchemaCollection.cs (1)
33
private int timeout = Timeout.
Infinite
;