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)
78
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)
65
if (options.
QueueLimit
< 0)
67
throw new ArgumentException(SR.Format(SR.ShouldBeGreaterThanOrEqual0, nameof(options.
QueueLimit
)), nameof(options));
78
QueueLimit = options.
QueueLimit
,
174
Debug.Assert(_options.
QueueLimit
>= _queueCount);
175
if (_options.
QueueLimit
- _queueCount < permitCount)
177
if (_options.QueueProcessingOrder == QueueProcessingOrder.NewestFirst && permitCount <= _options.
QueueLimit
)
205
while (_options.
QueueLimit
- _queueCount < permitCount);
218
Debug.Assert(_queueCount <= _options.
QueueLimit
);