RateLimitPartition<TKey> Struct
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.
Type returned by Get<TKey>(TKey, Func<TKey,RateLimiter>) methods to be used by Create<TResource,TPartitionKey>(Func<TResource,RateLimitPartition<TPartitionKey>>, IEqualityComparer<TPartitionKey>) to know what partitions are configured.
generic <typename TKey>
public value class RateLimitPartition
public struct RateLimitPartition<TKey>
type RateLimitPartition<'Key> = struct
Public Structure RateLimitPartition(Of TKey)
Type Parameters
- TKey
The type to distinguish partitions with.
- Inheritance
Constructors
Properties
| Name | Description |
|---|---|
| Factory |
The function called when a rate limiter for the given partitionKey is needed. |
| PartitionKey |
The specific key for this partition. |