![]() |
AT&T API Platform SDK for Microsoft®
2.3.3
Wrapper classes that allow developers to build robust applications using .NET
|
Exception returned if there is an error returned by the server or a connection failure. More...
Public Member Functions | |
InvalidResponseException () | |
Initializes a new instance of the InvalidResponseException class. | |
InvalidResponseException (string message) | |
Initializes a new instance of the InvalidResponseException class. | |
InvalidResponseException (string message, Exception ex) | |
Initializes a new instance of the InvalidResponseException class. | |
InvalidResponseException (string message, Exception ex, HttpStatusCode status, string body) | |
Initializes a new instance of the InvalidResponseException class. | |
Properties | |
HttpStatusCode | Status [get, set] |
Gets or sets the HTTP status code of the invalid response message. | |
string | Body [get, set] |
Gets or sets the formatData of the invalid response message. | |
ErrorResponse | ErrorResponseObject [get, set] |
Gets or sets the error response for invalid response message. |
Exception returned if there is an error returned by the server or a connection failure.
Initializes a new instance of the InvalidResponseException class.
ATT_MSSDK.InvalidResponseException.InvalidResponseException | ( | string | message | ) |
Initializes a new instance of the InvalidResponseException class.
message | A string used to describe the exception. |
ATT_MSSDK.InvalidResponseException.InvalidResponseException | ( | string | message, |
Exception | ex | ||
) |
Initializes a new instance of the InvalidResponseException class.
message | A string used to describe the exception. |
ex | The nested exception. |
ATT_MSSDK.InvalidResponseException.InvalidResponseException | ( | string | message, |
Exception | ex, | ||
HttpStatusCode | status, | ||
string | body | ||
) |
Initializes a new instance of the InvalidResponseException class.
message | A string used to describe the exception. |
ex | The nested exception. |
status | The HTTP status code returned by the server. |
body | The body of the response returned by the server. |
string ATT_MSSDK.InvalidResponseException.Body [get, set] |
Gets or sets the formatData of the invalid response message.
Gets or sets the error response for invalid response message.
HttpStatusCode ATT_MSSDK.InvalidResponseException.Status [get, set] |
Gets or sets the HTTP status code of the invalid response message.