3 writes to QueueLimit
RateLimitingSample (1)
Program.cs (1)
30
options.
QueueLimit
= 1;
System.Threading.RateLimiting (2)
System\Threading\RateLimiting\RateLimitPartition.cs (1)
78
QueueLimit
= options.QueueLimit,
System\Threading\RateLimiting\TokenBucketRateLimiter.cs (1)
76
QueueLimit
= options.QueueLimit,
9 references to QueueLimit
System.Threading.RateLimiting (9)
System\Threading\RateLimiting\RateLimitPartition.cs (1)
78
QueueLimit = options.
QueueLimit
,
System\Threading\RateLimiting\TokenBucketRateLimiter.cs (8)
63
if (options.
QueueLimit
< 0)
65
throw new ArgumentException(SR.Format(SR.ShouldBeGreaterThanOrEqual0, nameof(options.
QueueLimit
)), nameof(options));
76
QueueLimit = options.
QueueLimit
,
167
Debug.Assert(_options.
QueueLimit
>= _queueCount);
168
if (_options.
QueueLimit
- _queueCount < tokenCount)
170
if (_options.QueueProcessingOrder == QueueProcessingOrder.NewestFirst && tokenCount <= _options.
QueueLimit
)
198
while (_options.
QueueLimit
- _queueCount < tokenCount);
211
Debug.Assert(_queueCount <= _options.
QueueLimit
);