C# Client Library
A C# Client Library for the AnalyzeRe REST API
Loading...
Searching...
No Matches
AnalyzeRe.NotWaitingException Class Reference

Thrown when a request requires additional time to complete, but it exceeds the time we are willing to wait. More...

Public Member Functions

 NotWaitingException (string message=null, double timeWaited=0, int? queuePosition=null, double? retryTime=null, double? maxWaitTime=null, Exception innerException=null, IRestResponse restResponse=null)
 Thrown when a request requires additional time to complete, but it exceeds the time we are willing to wait.
 

Properties

double? MaxWaitTime [get, set]
 The number of seconds the sender would have been willing to wait.
 
int? QueuePosition [get, set]
 The server-reported queue position, indicating how many requests are ahead of this one before it can be processed.
 
IRestResponse RestResponse [get, set]
 The last IRestResponse (if any) that was received before this exception was raised.
 
double? RetryTime [get, set]
 The amount of time the server suggests waiting before retrying the request.
 
double TimeWaited [get, set]
 The number of seconds the sender has already been waiting.
 

Detailed Description

Thrown when a request requires additional time to complete, but it exceeds the time we are willing to wait.

NotWaitingException does not need to be Serializable

Definition at line 14 of file NotWaitingException.cs.

Inheritance diagram for AnalyzeRe.NotWaitingException:

Constructor & Destructor Documentation

◆ NotWaitingException()

AnalyzeRe.NotWaitingException.NotWaitingException ( string  message = null,
double  timeWaited = 0,
int?  queuePosition = null,
double?  retryTime = null,
double?  maxWaitTime = null,
Exception  innerException = null,
IRestResponse  restResponse = null 
)
inline

Thrown when a request requires additional time to complete, but it exceeds the time we are willing to wait.

Parameters
messageThe message describing the reason for throwing this error.
timeWaitedThe number of seconds the sender has already been waiting.
queuePositionThe server-reported queue position, indicating how many requests are ahead of this one before it can be processed.
retryTimeThe amount of time the server suggests waiting before retrying the request.
maxWaitTimeThe number of seconds the sender would have been willing to wait.
innerExceptionThe exception (if any) that led to this exception.
restResponseThe last IRestResponse (if any) that was received before this exception was raised.

Definition at line 59 of file NotWaitingException.cs.

Property Documentation

◆ MaxWaitTime

double? AnalyzeRe.NotWaitingException.MaxWaitTime
getset

The number of seconds the sender would have been willing to wait.

Definition at line 24 of file NotWaitingException.cs.

◆ QueuePosition

int? AnalyzeRe.NotWaitingException.QueuePosition
getset

The server-reported queue position, indicating how many requests are ahead of this one before it can be processed.

Definition at line 30 of file NotWaitingException.cs.

◆ RestResponse

IRestResponse AnalyzeRe.NotWaitingException.RestResponse
getset

The last IRestResponse (if any) that was received before this exception was raised.

Definition at line 39 of file NotWaitingException.cs.

◆ RetryTime

double? AnalyzeRe.NotWaitingException.RetryTime
getset

The amount of time the server suggests waiting before retrying the request.

Definition at line 35 of file NotWaitingException.cs.

◆ TimeWaited

double AnalyzeRe.NotWaitingException.TimeWaited
getset

The number of seconds the sender has already been waiting.

Definition at line 19 of file NotWaitingException.cs.


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