adspace
How we can use MessageContract partially with DataContract for a service operation in WCF?
Answer Posted / Aarti Katyal
To use MessageContract partially with DataContract, you can create a Message Contract that inherits from DataContract and add custom elements to it using MessageBodyMember attribute. The DataContract will be used as a basis while generating the service contract and data serialization.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers