Ads API .NET library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Google.Api.Ads.Common.Logging.ResponseInfo Class Reference

Stores the details of an HTTP response being logged. More...

Public Member Functions

 ResponseInfo ()
 Initializes a new instance of the ResponseInfo class. More...
 
 ResponseInfo (WebResponse response, string body)
 Initializes a new instance of the ResponseInfo class. More...
 

Properties

WebHeaderCollection Headers [get, set]
 The HTTP response headers. More...
 
string Body [get, set]
 The HTTP response body. More...
 
HttpStatusCode StatusCode [get, set]
 The HTTP status code of the response. More...
 
string RequestId [get, set]
 The ID of the preceeding request. More...
 
long OperationCount [get, set]
 The count of operations included in the preceeding request. More...
 
long ResponseTimeMs [get, set]
 The response time in milliseconds. More...
 
string ErrorMessage [get, set]
 The error message associated with this response. More...
 

Detailed Description

Stores the details of an HTTP response being logged.

Constructor & Destructor Documentation

Google.Api.Ads.Common.Logging.ResponseInfo.ResponseInfo ( )
inline

Initializes a new instance of the ResponseInfo class.

Google.Api.Ads.Common.Logging.ResponseInfo.ResponseInfo ( WebResponse  response,
string  body 
)
inline

Initializes a new instance of the ResponseInfo class.

Parameters
responseThe HTTP response.
bodyThe HTTP response body.

Property Documentation

string Google.Api.Ads.Common.Logging.ResponseInfo.Body
getset

The HTTP response body.

string Google.Api.Ads.Common.Logging.ResponseInfo.ErrorMessage
getset

The error message associated with this response.

WebHeaderCollection Google.Api.Ads.Common.Logging.ResponseInfo.Headers
getset

The HTTP response headers.

long Google.Api.Ads.Common.Logging.ResponseInfo.OperationCount
getset

The count of operations included in the preceeding request.

string Google.Api.Ads.Common.Logging.ResponseInfo.RequestId
getset

The ID of the preceeding request.

long Google.Api.Ads.Common.Logging.ResponseInfo.ResponseTimeMs
getset

The response time in milliseconds.

HttpStatusCode Google.Api.Ads.Common.Logging.ResponseInfo.StatusCode
getset

The HTTP status code of the response.


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