【发布时间】:2011-11-03 14:58:57
【问题描述】:
我有字段返回 System.Type 并且我知道它不可序列化。 So I want to implement own serialization this fields depends Accept type chosen by user for example if chosen Json serialization I want to return string name of javascript type supported by .net, and when choose xml serialization return string name of Xsd type supported by .net .
是否可以在 .net 类中包含此字段,或者在 IDispatchMessageInspector 或 IDispatchMessageFormatter 中更深入地执行此操作?
【问题讨论】:
标签: wcf serialization