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