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)
77
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)
64
if (options.
QueueLimit
< 0)
66
throw new ArgumentException(SR.Format(SR.ShouldBeGreaterThanOrEqual0, nameof(options.
QueueLimit
)), nameof(options));
77
QueueLimit = options.
QueueLimit
,
168
Debug.Assert(_options.
QueueLimit
>= _queueCount);
169
if (_options.
QueueLimit
- _queueCount < tokenCount)
171
if (_options.QueueProcessingOrder == QueueProcessingOrder.NewestFirst && tokenCount <= _options.
QueueLimit
)
199
while (_options.
QueueLimit
- _queueCount < tokenCount);
212
Debug.Assert(_queueCount <= _options.
QueueLimit
);