Dela via


RateLimiter.IdleDuration Property

Definition

Specifies how long the RateLimiter has had all permits available. Used by RateLimiter managers that may want to clean up unused RateLimiters.

public abstract TimeSpan? IdleDuration { get; }
member this.IdleDuration : Nullable<TimeSpan>
Public MustOverride ReadOnly Property IdleDuration As Nullable(Of TimeSpan)

Property Value

Remarks

Returns null when the RateLimiter is in use or is not ready to be idle.

Applies to