Here’s a little snippet of code I use to get the size of an XLANG message in bytes. Very efficient and always correct, it loops through each message part and adds up each part’s Size property.This is useful for when you need to know the size of the message inside an orchestration.
//Returns the sum of […]