Beispiel #1
0
 public static void Trace(TraceEventType type, int traceCode, string description, ContractDescription contract, Binding binding, string address)
 {
     if (DiagnosticUtility.ShouldTrace(type))
     {
         ComPlusMexChannelBuilderSchema schema = new ComPlusMexChannelBuilderSchema(contract.Name, contract.Namespace, binding.Name, binding.Namespace, address);
         TraceUtility.TraceEvent(type, traceCode, System.ServiceModel.SR.GetString(description), (TraceRecord)schema);
     }
 }
 public static void Trace(TraceEventType type, int traceCode, string description, ContractDescription contract, Binding binding, string address)
 {
     if (DiagnosticUtility.ShouldTrace(type))
     {
         ComPlusMexChannelBuilderSchema schema = new ComPlusMexChannelBuilderSchema(contract.Name, contract.Namespace, binding.Name, binding.Namespace, address);
         TraceUtility.TraceEvent(type, traceCode, System.ServiceModel.SR.GetString(description), (TraceRecord) schema);
     }
 }