public static void Trace(TraceEventType type, int traceCode, string description, ServiceInfo info, ContractDescription contract)
 {
     if (DiagnosticUtility.ShouldTrace(type))
     {
         XmlQualifiedName contractQname = new XmlQualifiedName(contract.Name, contract.Namespace);
         ComPlusServiceHostCreatedServiceContractSchema schema = new ComPlusServiceHostCreatedServiceContractSchema(info.AppID, info.Clsid, contractQname, contract.ContractType.ToString());
         TraceUtility.TraceEvent(type, traceCode, System.ServiceModel.SR.GetString(description), (TraceRecord)schema);
     }
 }
 public static void Trace(TraceEventType type, int traceCode, string description, ServiceInfo info, ContractDescription contract)
 {
     if (DiagnosticUtility.ShouldTrace(type))
     {
         XmlQualifiedName contractQname = new XmlQualifiedName(contract.Name, contract.Namespace);
         ComPlusServiceHostCreatedServiceContractSchema schema = new ComPlusServiceHostCreatedServiceContractSchema(info.AppID, info.Clsid, contractQname, contract.ContractType.ToString());
         TraceUtility.TraceEvent(type, traceCode, System.ServiceModel.SR.GetString(description), (TraceRecord) schema);
     }
 }