none
Changing WCF timeout RRS feed

  • Question

  • I am trying to change the SendTimeout for client side (or any timeout) in code on the fly to simulate a time out for selected transactions.  I can change the value and get a timeout but when I set the value back to the original value it is ignored. The scenario is I set the value to 2 ms, the make the call, get a timeout and in the finally block restore the timeout to the original value.  My expectation is that the next call will work, it does not even though I can see the values are set correctly I still get a time out showing the previous 2 ms value.

    john poirier

    Friday, February 27, 2015 12:51 AM

All replies