Is the below code correct :-

interface IMyContract
[OperationContract(IsOneWay = true)]
int MyMethod( );

 Posted by Akiii on 5/17/2012 | Category: WCF Interview questions | Views: 5058 | Points: 40

No, there should be no reply associated with a one-way operation. In the above an integer value is returned even though the IsOneWay property is true !

Thanks and Regards

| Alert Moderator 

Comments or Responses

Login to post response