public static void Trace(TraceEventType type, int traceCode, string description, ServiceInfo info, Message message, Guid incomingTransactionID)
 {
     if (DiagnosticUtility.ShouldTrace(type))
     {
         WindowsIdentity messageIdentity = MessageUtil.GetMessageIdentity(message);
         Uri             from            = null;
         if (message.Headers.From != null)
         {
             from = message.Headers.From.Uri;
         }
         ComPlusInstanceCreationRequestSchema extendedData = new ComPlusInstanceCreationRequestSchema(info.AppID, info.Clsid, from, incomingTransactionID, messageIdentity.Name);
         TraceUtility.TraceEvent(type, traceCode, System.ServiceModel.SR.GetString(description), extendedData, null, null, message);
     }
 }
 public static void Trace(TraceEventType type, int traceCode, string description, ServiceInfo info, Message message, Guid incomingTransactionID)
 {
     if (DiagnosticUtility.ShouldTrace(type))
     {
         WindowsIdentity callerIdentity = MessageUtil.GetMessageIdentity(message);
         Uri from = null;
         if (message.Headers.From != null)
             from = message.Headers.From.Uri;
         ComPlusInstanceCreationRequestSchema record =
             new ComPlusInstanceCreationRequestSchema(info.AppID, info.Clsid,
                 from, incomingTransactionID, callerIdentity.Name);
         TraceUtility.TraceEvent(type, traceCode, ServiceModelSR.GetString(description), record, null, null, message);
     }
 }