Search code examples
wcfidispatchmessageinspector

How can I disable MessageInspector of my condition


I inpesct WCF Service With IDisptachMessageInspector and then I call service operation at BeforeSendReply Method which changes context of message. But it when I call service , Inspector runs again. I want to not run inspector. Do you know any way to do that scenerio?


Solution

  • Answer is implementing IOperationInvoker