Convert Object to XLang Message

Hello Everyone,

I have an external library with one static function. It takes XLang Message as input and returns modified Xlang Message.

    

 public static XLANGMessage formatMessage(XLANGMessage msg)
        {

            Employee emp = (Employee)msg[0].RetrieveAs(typeof(Employee));
            emp.Name = emp.Name + " Test Name ";
            emp.Address.City = emp.Address.City + emp.Address.State;

            XLANGMessage formattedMsg;

< Some Logic to create formattedMsg from emp Object>

return formattedMsg;

        }

Please suggest how to convert Object to Xlang Message.

Any help will be

May 28th, 2015 3:37am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics