Ads API .NET library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Google.Api.Ads.AdWords.Lib.AdWordsSoapHeaderInspector Class Reference

Inspector that adds a SOAP request header to outbound requests and records API operation counts. More...

Inheritance diagram for Google.Api.Ads.AdWords.Lib.AdWordsSoapHeaderInspector:

Public Member Functions

object BeforeSendRequest (ref Message request, IClientChannel channel)
 Validates and applies the Header to the SOAP request. More...
 
void AfterReceiveReply (ref Message reply, object correlationState)
 Performs any operations after receiving the SOAP response. More...
 

Properties

RequestHeader RequestHeader [get, set]
 Gets or sets the SOAP request header. More...
 
ResponseHeader ResponseHeader [get, set]
 Gets or sets the SOAP response header. More...
 
AdWordsUser User [get, set]
 Gets or sets the user making the requests. More...
 

Detailed Description

Inspector that adds a SOAP request header to outbound requests and records API operation counts.

Member Function Documentation

void Google.Api.Ads.AdWords.Lib.AdWordsSoapHeaderInspector.AfterReceiveReply ( ref Message  reply,
object  correlationState 
)
inline

Performs any operations after receiving the SOAP response.

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

Validates and applies the Header to the SOAP request.

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.

Property Documentation

RequestHeader Google.Api.Ads.AdWords.Lib.AdWordsSoapHeaderInspector.RequestHeader
getset

Gets or sets the SOAP request header.

The request header.

ResponseHeader Google.Api.Ads.AdWords.Lib.AdWordsSoapHeaderInspector.ResponseHeader
getset

Gets or sets the SOAP response header.

AdWordsUser Google.Api.Ads.AdWords.Lib.AdWordsSoapHeaderInspector.User
getset

Gets or sets the user making the requests.

The user.


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