//
 // Initialize the wrapper with an existing IMailMsgPropertyBag object.
 //
 public MailMsgLoggingPropertyBag(
     IMailMsgPropertyBag propBag) :
     base(propBag)
 {
     this.propBag = (IMailMsgLoggingPropertyBag)propBag;
 }
        //
        // Constructors:
        //

        //
        // Initialize the wrapper using an existing IMailMsgPropertyBag object.
        //
        public MailMsgPropertyBag(
            IMailMsgPropertyBag propBag)
        {
            this.propBag = propBag;
        }
 //
 // Initialize the wrapper using a variant (presumably a server or session object).
 // This constructor will throw an exception if QueryInterface for IMailMsgPropertyBag fails.
 //
 public MailMsgPropertyBag(
     object propBag)
 {
     this.propBag = (IMailMsgPropertyBag) propBag;
 }
 //
 // Initialize the wrapper with an existing IMailMsgPropertyBag object.
 //
 public MailMsgLoggingPropertyBag(
     IMailMsgPropertyBag propBag)
     : base(propBag)
 {
     this.propBag = (IMailMsgLoggingPropertyBag) propBag;
 }
 //
 // Constructors:
 //
 //
 // Initialize the wrapper using an existing IMailMsgPropertyBag object.
 //
 public MailMsgPropertyBag(
     IMailMsgPropertyBag propBag)
 {
     this.propBag = propBag;
 }