Class RetryEvent
Event containing information about the happened retry
Inherited Members
Namespace: PnP.Core.Services
Assembly: PnP.Core.dll
Syntax
public sealed class RetryEvent : IRetryEvent
Constructors
RetryEvent(HttpRequestMessage, int, int, Exception)
Retry event constructor
Declaration
public RetryEvent(HttpRequestMessage requestMessage, int httpStatusCode, int waitTime, Exception exception)
Parameters
|
HttpRequestMessage
requestMessage
Request that's retried |
|
int
httpStatusCode
Http status code |
|
int
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
| int |
Implements
Properties
Event property bag
Declaration
public IDictionary<string, object> Properties { get; }
Property Value
| IDictionary<string, object> |
Implements
Request
WaitTime
Wait before the next try in seconds
Declaration
public int WaitTime { get; }
Property Value
| int |