WCF MessageContract Inheritance

前端 未结 5 774
生来不讨喜
生来不讨喜 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 20:15

    Is that possible to change BaseMessage so that it is concrete class with parameterless constructor?

    The error message tells that there is no way to initialize the object of type BaseMessage because it is abstract.

提交回复
热议问题