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

Extends the TimeoutException class to contain the IRestResponse that timed out. More...

Public Member Functions

 RequestTimeoutException (string message, Exception innerException=null, IRestResponse restResponse=null)
 Construct a new RequestTimeoutException.
 

Properties

IRestRequest Request [get]
 The original request object (obtained via the IRestResponse.Request property)
 
IRestResponse RestResponse [get, set]
 The IRestResponse that generated this exception.
 

Detailed Description

Extends the TimeoutException class to contain the IRestResponse that timed out.

RequestTimeoutException does not need to be Serializable

Definition at line 10 of file RequestTimeoutException.cs.

Inheritance diagram for AnalyzeRe.RequestTimeoutException:

Constructor & Destructor Documentation

◆ RequestTimeoutException()

AnalyzeRe.RequestTimeoutException.RequestTimeoutException ( string  message,
Exception  innerException = null,
IRestResponse  restResponse = null 
)
inline

Construct a new RequestTimeoutException.

Parameters
messageThe message that describes the error.
innerException(Optional) The exception that is the cause of the current exception.
restResponseThe IRestResponse that generated this exception.

Definition at line 25 of file RequestTimeoutException.cs.

Property Documentation

◆ Request

IRestRequest AnalyzeRe.RequestTimeoutException.Request
get

The original request object (obtained via the IRestResponse.Request property)

Definition at line 17 of file RequestTimeoutException.cs.

◆ RestResponse

IRestResponse AnalyzeRe.RequestTimeoutException.RestResponse
getset

The IRestResponse that generated this exception.

Definition at line 13 of file RequestTimeoutException.cs.


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