本文介绍了如何在WCF中返回XmlDocument对象的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想从WCF返回XmlDocument对象,但它给我错误

I want to return XmlDocument object from WCF but it giving me error as

Type 'System.Xml.XmlDocument' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute.



如何从WCF合同返回XMLDocument。


How to return XMLDocument from WCF Contract.

推荐答案


这篇关于如何在WCF中返回XmlDocument对象的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-20 06:24