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

Adds inspectors for authentication, SOAP headers, and logging to Ads API services. More...

Inheritance diagram for Google.Api.Ads.Common.Lib.AdsServiceInspectorBehavior:

Public Member Functions

 AdsServiceInspectorBehavior ()
 Initializes a new instance of the AdsServiceInspectorBehavior class. More...
 
void Add (IClientMessageInspector inspector)
 Adds the inspector to be applied to the service. More...
 
void Remove< T > ()
 Removes inspector of type T. More...
 
GetInspector< T > ()
 Gets the inspector of the specified Type, if it exists. Returns null otherwise. More...
 
void AddBindingParameters (ServiceEndpoint endpoint, BindingParameterCollection bindingParameters)
 Adds the binding parameters. More...
 
void ApplyClientBehavior (ServiceEndpoint endpoint, ClientRuntime clientRuntime)
 Applies the client behavior. More...
 
void ApplyDispatchBehavior (ServiceEndpoint endpoint, EndpointDispatcher endpointDispatcher)
 Applies the dispatch behavior. More...
 
void Validate (ServiceEndpoint endpoint)
 Validate the specified endpoint. More...
 

Detailed Description

Adds inspectors for authentication, SOAP headers, and logging to Ads API services.

Constructor & Destructor Documentation

Google.Api.Ads.Common.Lib.AdsServiceInspectorBehavior.AdsServiceInspectorBehavior ( )
inline

Initializes a new instance of the AdsServiceInspectorBehavior class.

Member Function Documentation

void Google.Api.Ads.Common.Lib.AdsServiceInspectorBehavior.Add ( IClientMessageInspector  inspector)
inline

Adds the inspector to be applied to the service.

Parameters
inspectorInspector.
void Google.Api.Ads.Common.Lib.AdsServiceInspectorBehavior.AddBindingParameters ( ServiceEndpoint  endpoint,
BindingParameterCollection  bindingParameters 
)
inline

Adds the binding parameters.

Parameters
endpointEndpoint.
bindingParametersBinding parameters.
void Google.Api.Ads.Common.Lib.AdsServiceInspectorBehavior.ApplyClientBehavior ( ServiceEndpoint  endpoint,
ClientRuntime  clientRuntime 
)
inline

Applies the client behavior.

Parameters
endpointEndpoint.
clientRuntimeClient runtime.
void Google.Api.Ads.Common.Lib.AdsServiceInspectorBehavior.ApplyDispatchBehavior ( ServiceEndpoint  endpoint,
EndpointDispatcher  endpointDispatcher 
)
inline

Applies the dispatch behavior.

Parameters
endpointEndpoint.
endpointDispatcherEndpoint dispatcher.
T Google.Api.Ads.Common.Lib.AdsServiceInspectorBehavior.GetInspector< T > ( )
inline

Gets the inspector of the specified Type, if it exists. Returns null otherwise.

Template Parameters
TThe type of inspector to retrieve.
Returns
void Google.Api.Ads.Common.Lib.AdsServiceInspectorBehavior.Remove< T > ( )
inline

Removes inspector of type T.

Template Parameters
T
void Google.Api.Ads.Common.Lib.AdsServiceInspectorBehavior.Validate ( ServiceEndpoint  endpoint)
inline

Validate the specified endpoint.

Parameters
endpointEndpoint.

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