OnRejectedContext Class
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.
Holds state needed for the OnRejected callback in the RateLimitingMiddleware.
public sealed class OnRejectedContext
type OnRejectedContext = class
Public NotInheritable Class OnRejectedContext
- Inheritance
-
OnRejectedContext
Constructors
OnRejectedContext() |
Properties
HttpContext |
Gets or sets the HttpContext that the OnRejected callback will have access to |
Lease |
Gets or sets the failed RateLimitLease that the OnRejected callback will have access to |