Class RateLimitEvent
Event containing information about the happened rate limit event
Inheritance
System.Object
RateLimitEvent
Namespace: PnP.Core.Services
Assembly: PnP.Core.dll
Syntax
public sealed class RateLimitEvent : object, IRateLimitEvent
Constructors
RateLimitEvent(HttpRequestMessage, HttpResponseMessage)
Rate limit event constructor
Declaration
public RateLimitEvent(HttpRequestMessage requestMessage, HttpResponseMessage responseMessage)
Parameters
HttpRequestMessage
requestMessage
Response for the retried request |
HttpResponseMessage
responseMessage
Request that's retried |
Properties
Limit
Maximum number of requests per window
Declaration
public int Limit { get; }
Property Value
System.Int32
|
Implements
Properties
Event property bag
Declaration
public IDictionary<string, object> Properties { get; }
Property Value
IDictionary<System.String, System.Object>
|
Implements
Remaining
The remaining requests in the current window.
Declaration
public int Remaining { get; }
Property Value
System.Int32
|
Implements
Request
Request that was retried
Declaration
public Uri Request { get; }
Property Value
Uri
|
Implements
Reset
The time, in
Declaration
public int Reset { get; }
Property Value
System.Int32
|