Appcelerator.Message.GetMessageXML C# (CSharp) Method

GetMessageXML() public method

public GetMessageXML ( ) : String
return String
        public String GetMessageXML()
        {
            String xml = "<message direction='"+direction.ToString()+"' type='"+type+"' datatype='"+dataType.ToString()+"' scope='"+scope+"' version='"+version+"'>";
            xml += "<![CDATA[" + Payload + "]]>";
            xml += "</message>";
            return xml;
        }