Oneway calls in WCF service

There is a known bug in oneway calls in WCF service, that you are not allowed to close the channel untill the call is completed.

that is you are doing some thing like this

Client c = new Client();
c.open();
c.SomeMethod(); //one way method
c.Close(); //You will have to wait here untill the calls gets completed

so in this case you will need to either hook the close fiunction using some delegate or close the connection in the end of the whole functionality.

Tags: ,

Leave a Reply

Your email address will not be published. Required fields are marked *

*
*