RateLimiter.AttemptAcquireCore(Int32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
RateLimiter实现 为 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
参数
- permitCount
- Int32
尝试和获取的许可证数。