public static void Trace(TraceEventType type, int traceCode, string description, ServiceInfo info, InstanceContext instanceContext, int instanceID)
 {
     if (DiagnosticUtility.ShouldTrace(type))
     {
         ComPlusInstanceReleasedSchema schema = new ComPlusInstanceReleasedSchema(info.AppID, info.Clsid, instanceID);
         TraceUtility.TraceEvent(type, traceCode, System.ServiceModel.SR.GetString(description), (TraceRecord)schema);
     }
 }
コード例 #2
0
 public static void Trace(TraceEventType type, int traceCode, string description, ServiceInfo info, InstanceContext instanceContext, int instanceID)
 {
     if (DiagnosticUtility.ShouldTrace(type))
     {
         ComPlusInstanceReleasedSchema record =
         new ComPlusInstanceReleasedSchema(info.AppID, info.Clsid, instanceID);
         TraceUtility.TraceEvent(type, traceCode, ServiceModelSR.GetString(description), record);
     }
 }