RateLimitPartition.GetNoLimiter<TKey>(TKey) 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.
Defines a partition that will not have a rate limiter.
This means any calls to AttemptAcquire(TResource, Int32) or AcquireAsync(TResource, Int32, CancellationToken) will always succeed for the given partitionKey
.
public static System.Threading.RateLimiting.RateLimitPartition<TKey> GetNoLimiter<TKey> (TKey partitionKey);
static member GetNoLimiter : 'Key -> System.Threading.RateLimiting.RateLimitPartition<'Key>
Public Shared Function GetNoLimiter(Of TKey) (partitionKey As TKey) As RateLimitPartition(Of TKey)
Type Parameters
- TKey
The type to distinguish partitions with.
Parameters
- partitionKey
- TKey
The specific key for this partition.