10-16-04 02:11 AM
Hello,
>I have not been able to find any information on how I pass a message from a
n
>orchestration into a "Method Call" the samples in Bt SDK don't provide such
>sample. The idea is to get some info from the message and react upon it on
>an external method on an assembly. Can anyone point me to one (or more), o
r
>can provide one?
Perhaps this page is what you need: http://msdn.microsoft.com/library/d...g_orch_btam.asp
You should pass messages as XLANGMessage:
MyMethod(XLANGMessage myMsg)
{
XLANGPart myPart = myMsg["Part1"];
XmlDocument xmlDoc = (XmlDocument) myPart.RetrieveAs(typeof(XmlDocument));
}
Thanks,
-Gilles.
[ Post a follow-up to this message ]
|