WCF MessageContract Inheritance

前端 未结 5 768
生来不讨喜
生来不讨喜 2020-12-11 19:36

I am fairly new to WCF and just have a question on how to correctly get MessageContract inheritance working. A simplified version of my setup is as follows - a \"base\" mess

5条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-11 19:57

    The error simply wants you to have a default empty contructor that it can use. However, I agree with marc_s; in the projects I've worked on I've rarely used message contract, the only case I can remember was as part of a file transfer service where file chunks were passed in messasges.

提交回复
热议问题