12 [System.Diagnostics.CodeAnalysis.SuppressMessage(
"Microsoft.Usage",
13 "CA2237:MarkISerializableTypesWithSerializable")]
60 string message =
null,
61 double timeWaited = 0,
62 int? queuePosition =
null,
63 double? retryTime =
null,
64 double? maxWaitTime =
null,
65 Exception innerException =
null,
66 IRestResponse restResponse =
null)
67 : base(message ??
"Not waiting for asynchronous request to complete.",
Thrown when a request requires additional time to complete, but it exceeds the time we are willing to...
double TimeWaited
The number of seconds the sender has already been waiting.
double? RetryTime
The amount of time the server suggests waiting before retrying the request.
int? QueuePosition
The server-reported queue position, indicating how many requests are ahead of this one before it can ...
IRestResponse RestResponse
The last IRestResponse (if any) that was received before this exception was raised.
double? MaxWaitTime
The number of seconds the sender would have been willing to wait.
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...