コード例 #1
0
 public void ApplyDispatchBehavior(ServiceEndpoint endpoint, EndpointDispatcher endpointDispatcher)
 {
     ConsoleOutputMessageInspector inspector = new ConsoleOutputMessageInspector();
     //endpointDispatcher.DispatchRuntime.MessageInspectors.Add(inspector);
 }
コード例 #2
0
        public void ApplyClientBehavior(ServiceEndpoint endpoint, ClientRuntime clientRuntime)
        {
            ConsoleOutputMessageInspector inspector = new ConsoleOutputMessageInspector();

            clientRuntime.MessageInspectors.Add(inspector);
        }