System.Threading.RateLimiting.RateLimitLease
Abstraction for leases returned by RateLimiter implementations.
A lease represents the success or failure to acquire a resource and contains potential metadata that is relevant to the acquisition operation.
Represents whether lease acquisition was successful.
Gets a list of the metadata names that are available on the lease.
protected RateLimitLease()
Dispose the lease. This may free up space on the limiter implementation the lease came from.
Dispose method for implementations to write.
Gets a list of all the metadata that is available on the lease.
Attempt to extract metadata for the lease.
Attempt to extract a strongly-typed metadata for the lease.