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

Define a SOAP Extension that traces the SOAP request and SOAP response for the XML Web service method the SOAP extension is applied to. More...

Inheritance diagram for Google.Api.Ads.Common.Logging.SoapListenerInspector:

Public Member Functions

 SoapListenerInspector (AdsUser user, string serviceName)
 Initializes a new instance of the SoapListenerInspector class. More...
 
object BeforeSendRequest (ref Message request, IClientChannel channel)
 Logs the request information. More...
 
void AfterReceiveReply (ref Message response, object correlationState)
 Logs the response information. More...
 

Detailed Description

Define a SOAP Extension that traces the SOAP request and SOAP response for the XML Web service method the SOAP extension is applied to.

Constructor & Destructor Documentation

Google.Api.Ads.Common.Logging.SoapListenerInspector.SoapListenerInspector ( AdsUser  user,
string  serviceName 
)
inline

Initializes a new instance of the SoapListenerInspector class.

Member Function Documentation

void Google.Api.Ads.Common.Logging.SoapListenerInspector.AfterReceiveReply ( ref Message  response,
object  correlationState 
)
inline

Logs the response information.

Parameters
responseThe message to be transformed into types and handed back to the client application.
correlationStateCorrelation state data returned by BeforeSendRequest
object Google.Api.Ads.Common.Logging.SoapListenerInspector.BeforeSendRequest ( ref Message  request,
IClientChannel  channel 
)
inline

Logs the request information.

Parameters
requestThe message to be sent to the service
channelThe WCF client object channel
Returns
The object to be used as the correlationState argument of the AfterReceiveReply method. This is null if no correlation state is used.

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