Sunday, February 20, 2011

WCF Contract - Overloading Methods



If you need to overload a funtion in WCF contract , you've probably encountered in :


Cannot have two operations in the same contract with the same name, methods ***** and ****** in type ******* violate this rule. You can change the name of one of the operations by changing the method name or by using the Name property of OperationContractAttribute


Here's how to fix this issue (second option)

http://www.switchonthecode.com/snippet-tutorials/wcf-snippet-tutorial-overloading-methods

0 תגובות:

Post a Comment

 
Home | About | Link | Link
Simple Proff Blogger Template Created By Herro | Inspiring By Busy Bee Woo Themes