Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
这可能是一个愚蠢的问题,但这可能吗?
是的,它工作得很好。您可以将任何可序列化类型作为数据协定的成员(或[MessageHeader]或[MessageBodyMember]),并且数据协定可由 WCF 序列化。
[MessageHeader]
[MessageBodyMember]