예제 #1
0
        public void ApplyClientBehavior(ServiceEndpoint endpoint,
                                        System.ServiceModel.Dispatcher.ClientRuntime clientRuntime)
        {
            HRXMLMessageInspector inspector =
                new HRXMLMessageInspector();

            clientRuntime.MessageInspectors.Add(inspector);
        }
예제 #2
0
        public void ApplyDispatchBehavior(ServiceEndpoint endpoint,
                                          System.ServiceModel.Dispatcher.EndpointDispatcher
                                          endpointDispatcher)
        {
            HRXMLMessageInspector inspector =
                new HRXMLMessageInspector();

            endpointDispatcher.DispatchRuntime.MessageInspectors.Add(inspector);
        }