public void ReadXLANGMessage(XLANGMessage msg) { Stream stm = (Stream)msg[0].RetrieveAs((typeof(Stream) )); XmlValidatingReader reader = new XmlValidatingReader( stm, XmlNodeType.Document, null); String XmlStr = reader.ReadOuterXml(); ... }
public void ReadXLANGMessage(XLANGMessage msg) { Stream stm = (Stream)msg[0].RetrieveAs((typeof(Stream) )); XmlValidatingReader reader = new XmlValidatingReader( stm, XmlNodeType.Document, null); String XmlStr = reader.ReadOuterXml(); ... }