Microsoft.Protocols.TestSuites.Common.ResponseSchemaValidationInspector.ApplyClientBehavior C# (CSharp) Method

ApplyClientBehavior() public method

Add a message inspector in the specified ClientRuntime to give the ability of inspecting the request and response message.
public ApplyClientBehavior ( ServiceEndpoint endpoint, System clientRuntime ) : void
endpoint System.ServiceModel.Description.ServiceEndpoint The endpoint that is to be customized.
clientRuntime System The client runtime to be added message inspector.
return void
        public void ApplyClientBehavior(ServiceEndpoint endpoint, System.ServiceModel.Dispatcher.ClientRuntime clientRuntime)
        {
            clientRuntime.MessageInspectors.Add(this);
        }