Ejemplo n.º 1
0
 internal MessageLogTraceRecord(ref System.ServiceModel.Channels.Message message, XmlReader reader, System.ServiceModel.Diagnostics.MessageLoggingSource source, bool logMessageBody) : this(source)
 {
     MessageBuffer buffer = null;
     try
     {
         this.logMessageBody = logMessageBody;
         this.message        = message;
         this.reader         = reader;
         this.type           = message.GetType();
     }
     finally
     {
         if (buffer != null)
         {
             buffer.Close();
         }
     }
 }