RiotNet  8.0.0
A C#/.NET client for the Riot Games API.
Public Member Functions | Properties | List of all members
RiotNet.RetryEventArgs Class Reference

Contains event data for an error that could trigger a retry of a request. More...

Inheritance diagram for RiotNet.RetryEventArgs:
RiotNet.ResponseEventArgs

Public Member Functions

 RetryEventArgs (RiotResponse response, int attemptCount)
 Creates a new RetryEventArgs instance. More...
 
- Public Member Functions inherited from RiotNet.ResponseEventArgs
 ResponseEventArgs (RiotResponse response, string errorMessage=null)
 Creates a new ResponseEventArgs instance. More...
 

Properties

int AttemptCount [get]
 Gets the number of times that the same request has been attempted. More...
 
bool Retry [get, set]
 Gets or sets whether the sender should retry the operation after the event handler has finished executing. More...
 
- Properties inherited from RiotNet.ResponseEventArgs
RiotResponse Response [get]
 Gets the response for the request that caused the event. More...
 
string ErrorMessage [get]
 Gets the error message contained in te response, if any. More...
 

Detailed Description

Contains event data for an error that could trigger a retry of a request.

Constructor & Destructor Documentation

RiotNet.RetryEventArgs.RetryEventArgs ( RiotResponse  response,
int  attemptCount 
)
inline

Creates a new RetryEventArgs instance.

Parameters
responseThe response for the request that caused the event.
attemptCountThe number of times that the same request has been attempted.

Property Documentation

int RiotNet.RetryEventArgs.AttemptCount
get

Gets the number of times that the same request has been attempted.

bool RiotNet.RetryEventArgs.Retry
getset

Gets or sets whether the sender should retry the operation after the event handler has finished executing.


The documentation for this class was generated from the following file: