RateLimiter.AttemptAcquireCore(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Method that RateLimiter implementations implement for AttemptAcquire(Int32).
protected abstract System.Threading.RateLimiting.RateLimitLease AttemptAcquireCore (int permitCount);
abstract member AttemptAcquireCore : int -> System.Threading.RateLimiting.RateLimitLease
Protected MustOverride Function AttemptAcquireCore (permitCount As Integer) As RateLimitLease
Parameters
- permitCount
- Int32
Number of permits to try and acquire.