Delen via


RateLimiter.AttemptAcquireCore(Int32) Method

Definition

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.

Returns

Applies to