Search Results for

    Show / Hide Table of Contents

    Class EventHub

    Class that allows a PnP Core SDK consumer to hookup with events being triggered from within PnP Core SDK

    Inheritance
    System.Object
    EventHub
    Namespace: PnP.Core.Services
    Assembly: PnP.Core.dll
    Syntax
    public sealed class EventHub : object

    Constructors

    EventHub()

    Default constructor

    Declaration
    public EventHub()

    Properties

    RequestRateLimitUpdate

    Event so subscribe to for getting event rate limit information

    Declaration
    public Action<IRateLimitEvent> RequestRateLimitUpdate { get; set; }
    Property Value
    Action<IRateLimitEvent>

    RequestRateLimitWaitAsync

    Event to subscribe to for implementing a delay due to the rate limit information received via RequestRateLimitUpdate.

    Declaration
    public EventHub.RequestRateLimitWaitDelegate RequestRateLimitWaitAsync { get; set; }
    Property Value
    EventHub.RequestRateLimitWaitDelegate

    RequestRetry

    Event to subscribe to get notified whenever a request is getting retried due to throttling or an error

    Declaration
    public Action<IRetryEvent> RequestRetry { get; set; }
    Property Value
    Action<IRetryEvent>

    Back to top PnP Core SDK
    Generated by DocFX with Material UI
    spacer