AT&T API Platform SDK for Microsoft®  2.3.3
Wrapper classes that allow developers to build robust applications using .NET
 All Classes Namespaces Functions Enumerations Properties
ATT_MSSDK.InvalidResponseException Class Reference

Exception returned if there is an error returned by the server or a connection failure. More...

List of all members.

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.

Detailed Description

Exception returned if there is an error returned by the server or a connection failure.


Constructor & Destructor Documentation

Initializes a new instance of the InvalidResponseException class.

Parameters:
messageA string used to describe the exception.
ATT_MSSDK.InvalidResponseException.InvalidResponseException ( string  message,
Exception  ex 
)

Initializes a new instance of the InvalidResponseException class.

Parameters:
messageA string used to describe the exception.
exThe nested exception.
ATT_MSSDK.InvalidResponseException.InvalidResponseException ( string  message,
Exception  ex,
HttpStatusCode  status,
string  body 
)

Initializes a new instance of the InvalidResponseException class.

Parameters:
messageA string used to describe the exception.
exThe nested exception.
statusThe HTTP status code returned by the server.
bodyThe body of the response returned by the server.

Property Documentation

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.