locked
Time out is not happening for IsOneWay Operations. RRS feed

  • Question

  • Hi,

    For my method in my WCF Service I set IsOneWay=True. I am using default time out of WCF. In side of my method i kept the Thread.Sleep for 30 mins. But i could see that method is executed after 30 mins and i got result. But i am wondering why the time out is not happened? But if i use requestreply i am getting tat time out error? So what is the exact relationship b/w Isone way operation and time out? Can any of you guys please clarify my doubt?

    Thanks

    Lijo

    Tuesday, August 24, 2010 4:10 PM

Answers

  • A OneWay operation means that the client will send the request and simply ignore the server response (actually the server will respond immediately, and carry on executing the operation). So the Send/Receive timeouts will only apply for OneWay operations at the client side if the server doesn't respond to the request immediately.
    Tuesday, August 24, 2010 5:11 PM