Search Results for

    Show / Hide Table of Contents

    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
    IRateLimitEvent.Limit

    Properties

    Event property bag

    Declaration
    public IDictionary<string, object> Properties { get; }
    Property Value
    IDictionary<System.String, System.Object>

    Implements
    IRateLimitEvent.Properties

    Remaining

    The remaining requests in the current window.

    Declaration
    public int Remaining { get; }
    Property Value
    System.Int32

    Implements
    IRateLimitEvent.Remaining

    Request

    Request that was retried

    Declaration
    public Uri Request { get; }
    Property Value
    Uri

    Implements
    IRateLimitEvent.Request

    Reset

    The time, in , when the current window gets reset

    Declaration
    public int Reset { get; }
    Property Value
    System.Int32

    Implements
    IRateLimitEvent.Reset
    Back to top PnP Core SDK
    Generated by DocFX with Material UI
    spacer