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
HttpStatusCode
Http status code for the retried request
Declaration
public int HttpStatusCode { 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
Request
Request that was retried
Declaration
public Uri Request { get; }
Property Value
Uri
|
Implements
WaitTime
Wait before the next try in seconds
Declaration
public int WaitTime { get; }
Property Value
System.Int32
|