3 writes to QueueLimit
RateLimitingSample (1)
SampleRateLimiterPolicy.cs (1)
32
QueueLimit
= 1,
System.Threading.RateLimiting (2)
System\Threading\RateLimiting\RateLimitPartition.cs (1)
112
QueueLimit
= options.QueueLimit,
System\Threading\RateLimiting\SlidingWindowRateLimiter.cs (1)
79
QueueLimit
= options.QueueLimit,
9 references to QueueLimit
System.Threading.RateLimiting (9)
System\Threading\RateLimiting\RateLimitPartition.cs (1)
112
QueueLimit = options.
QueueLimit
,
System\Threading\RateLimiting\SlidingWindowRateLimiter.cs (8)
66
if (options.
QueueLimit
< 0)
68
throw new ArgumentException(SR.Format(SR.ShouldBeGreaterThanOrEqual0, nameof(options.
QueueLimit
)), nameof(options));
79
QueueLimit = options.
QueueLimit
,
175
Debug.Assert(_options.
QueueLimit
>= _queueCount);
176
if (_options.
QueueLimit
- _queueCount < permitCount)
178
if (_options.QueueProcessingOrder == QueueProcessingOrder.NewestFirst && permitCount <= _options.
QueueLimit
)
206
while (_options.
QueueLimit
- _queueCount < permitCount);
219
Debug.Assert(_queueCount <= _options.
QueueLimit
);