Search Results for

    Show / Hide Table of Contents

    Class RetryEvent

    Event containing information about the happened retry

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

    Constructors

    RetryEvent(HttpRequestMessage, Int32, Int32, Exception)

    Retry event constructor

    Declaration
    public RetryEvent(HttpRequestMessage requestMessage, int httpStatusCode, int waitTime, Exception exception)
    Parameters
    HttpRequestMessage requestMessage

    Request that's retried

    System.Int32 httpStatusCode

    Http status code

    System.Int32 waitTime

    Wait before the next try in seconds

    Exception exception

    Socket exception that triggered the retry

    Properties

    Exception

    SocketException that triggered the retry

    Declaration
    public Exception Exception { get; }
    Property Value
    Exception

    Implements
    IRetryEvent.Exception

    HttpStatusCode

    Http status code for the retried request

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

    Implements
    IRetryEvent.HttpStatusCode

    Properties

    Event property bag

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

    Implements
    IRetryEvent.Properties

    Request

    Request that was retried

    Declaration
    public Uri Request { get; }
    Property Value
    Uri

    Implements
    IRetryEvent.Request

    WaitTime

    Wait before the next try in seconds

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

    Implements
    IRetryEvent.WaitTime
    Back to top PnP Core SDK
    Generated by DocFX with Material UI
    spacer