public static void Trace(TraceEventType type, int traceCode, string description, ServiceInfo info, Message message, int instanceID, Guid incomingTransactionID)
 {
     if (DiagnosticUtility.ShouldTrace(type))
     {
         WindowsIdentity messageIdentity = MessageUtil.GetMessageIdentity(message);
         Uri             from            = null;
         if (message.Headers.From != null)
         {
             from = message.Headers.From.Uri;
         }
         ComPlusInstanceCreationSuccessSchema extendedData = new ComPlusInstanceCreationSuccessSchema(info.AppID, info.Clsid, from, incomingTransactionID, messageIdentity.Name, instanceID);
         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, int instanceID, Guid incomingTransactionID)
 {
     if (DiagnosticUtility.ShouldTrace(type))
     {
         WindowsIdentity callerIdentity = MessageUtil.GetMessageIdentity(message);
         Uri from = null;
         if (message.Headers.From != null)
             from = message.Headers.From.Uri;
         ComPlusInstanceCreationSuccessSchema record =
             new ComPlusInstanceCreationSuccessSchema(info.AppID, info.Clsid,
                 from, incomingTransactionID, callerIdentity.Name, instanceID);
         TraceUtility.TraceEvent(type, traceCode, ServiceModelSR.GetString(description), record, null, null, message);
     }
 }