共用方式為


RateLimitPartition<TKey> 結構

定義

public struct RateLimitPartition<TKey>
type RateLimitPartition<'Key> = struct
Public Structure RateLimitPartition(Of TKey)

類型參數

TKey

要區分資料分割的型別。

繼承
RateLimitPartition<TKey>

建構函式

RateLimitPartition<TKey>(TKey, Func<TKey,RateLimiter>)

RateLimitPartition<TKey>建構 用於 的 Create<TResource,TPartitionKey>(Func<TResource,RateLimitPartition<TPartitionKey>>, IEqualityComparer<TPartitionKey>)

屬性

Factory

需要指定 partitionKey 的速率限制器時呼叫的函式。

PartitionKey

此分割區的特定索引鍵。

適用於