/// <summary>
 /// Writes property values into a property bag.
 /// </summary>
 /// <param name="pb">Property bag.</param>
 /// <param name="propName">Name of property.</param>
 /// <param name="val">Value of property.</param>
 private static void WritePropertyBag(Microsoft.BizTalk.Component.Interop.IPropertyBag pb, string propName, object val)
 {
     try
     {
         pb.Write(propName, ref val);
     }
     catch (Exception ex)
     {
         throw new ApplicationException(ex.Message);
     }
 }
Exemplo n.º 2
0
 private void WritePropertyBag(Microsoft.BizTalk.Component.Interop.IPropertyBag pb, string propName, object val)
 {
     try
     {
         pb.Write(propName, ref val);
     }
     catch (Exception e)
     {
         throw new InvalidProgramException(e.Message);
     }
 }
 /// <summary>
 /// Writes property values into a property bag.
 /// </summary>
 /// <param name="pb">Property bag.</param>
 /// <param name="propName">Name of property.</param>
 /// <param name="val">Value of property.</param>
 private static void WritePropertyBag(Microsoft.BizTalk.Component.Interop.IPropertyBag pb, string propName, object val)
 {
     pb.Write(propName, ref val);
 }