public static void Trace(TraceEventType type, int traceCode, string description, Guid iid, Guid typeLibraryID)
 {
     if (DiagnosticUtility.ShouldTrace(type))
     {
         ComPlusTLBImportSchema schema = new ComPlusTLBImportSchema(iid, typeLibraryID);
         TraceUtility.TraceEvent(type, traceCode, System.ServiceModel.SR.GetString(description), (TraceRecord) schema);
     }
 }
示例#2
0
 public static void Trace(TraceEventType type, int traceCode, string description, Guid iid, Guid typeLibraryID)
 {
     if (DiagnosticUtility.ShouldTrace(type))
     {
         ComPlusTLBImportSchema schema = new ComPlusTLBImportSchema(iid, typeLibraryID);
         TraceUtility.TraceEvent(type, traceCode, System.ServiceModel.SR.GetString(description), (TraceRecord)schema);
     }
 }