internal static void Set(TransactionInfo transactionInfo, Message message) { TransactionMessageProperty propertyAndThrowIfAlreadySet = GetPropertyAndThrowIfAlreadySet(message); propertyAndThrowIfAlreadySet.flowedTransactionInfo = transactionInfo; message.Properties.Add("TransactionMessageProperty", propertyAndThrowIfAlreadySet); }
static internal void Set(TransactionInfo transactionInfo, Message message) { TransactionMessageProperty property = GetPropertyAndThrowIfAlreadySet(message); property.flowedTransactionInfo = transactionInfo; message.Properties.Add(PropertyName, property); }