C# Client Library
A C# Client Library for the AnalyzeRe REST API
|
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. | |
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.
|
inline |
Thrown when a request requires additional time to complete, but it exceeds the time we are willing to wait.
message | The message describing the reason for throwing this error. |
timeWaited | The number of seconds the sender has already been waiting. |
queuePosition | The server-reported queue position, indicating how many requests are ahead of this one before it can be processed. |
retryTime | The amount of time the server suggests waiting before retrying the request. |
maxWaitTime | The number of seconds the sender would have been willing to wait. |
innerException | The exception (if any) that led to this exception. |
restResponse | The last IRestResponse (if any) that was received before this exception was raised. |
Definition at line 59 of file NotWaitingException.cs.
|
getset |
The number of seconds the sender would have been willing to wait.
Definition at line 24 of file NotWaitingException.cs.
|
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.
|
getset |
The last IRestResponse (if any) that was received before this exception was raised.
Definition at line 39 of file NotWaitingException.cs.
|
getset |
The amount of time the server suggests waiting before retrying the request.
Definition at line 35 of file NotWaitingException.cs.
|
getset |
The number of seconds the sender has already been waiting.
Definition at line 19 of file NotWaitingException.cs.