PartitionedRateLimiter<TResource>.GetStatistics(TResource) 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.
Gets a snapshot of the statistics for the resource
if available.
public abstract System.Threading.RateLimiting.RateLimiterStatistics? GetStatistics (TResource resource);
abstract member GetStatistics : 'Resource -> System.Threading.RateLimiting.RateLimiterStatistics
Public MustOverride Function GetStatistics (resource As TResource) As RateLimiterStatistics
Parameters
- resource
- TResource
Returns
An instance of RateLimiterStatistics containing a snapshot of the statistics for a resource
.