| news.ntlworld.com 2004-03-26, 9:44 pm |
| In order to read promoted properties on a message from within an
orchestration I can create a component containing a method with the
following signature:
MyMethod (Microsoft.XLANGs.BaseTypes.XLANGMessage m)
The XLANGMessage class has a GetProperty method that will return a promoted
property given the correct type reference. This works fine and returns the
built in properties such as e.g. BTS.ReceivePortName and also custom
properties which were promoted in the message itself.
However, does anyone know if it is possible to read properties that were
promoted from the ENVELOPE using the same technique? According to the
documentation, envelope properties are also promoted onto the message
context if a property schema is provided....I can't get this to work. Is
there any way to read envelope properties in an orchestration either
directly in an expression shape or from a helper component?
|