protected override System.ServiceModel.Description.ServiceDescription CreateDescription(out IDictionary <string, ContractDescription> implementedContracts) { System.ServiceModel.Description.ServiceDescription description2; try { System.ServiceModel.Description.ServiceDescription description = new ComPlusServiceLoader(this.info).Load(this); implementedContracts = null; description2 = description; } catch (Exception exception) { DiagnosticUtility.EventLog.LogEvent(TraceEventType.Error, EventLogCategory.ComPlus, (EventLogEventId)(-1073610730), new string[] { this.info.AppID.ToString(), this.info.Clsid.ToString(), exception.ToString() }); throw; } return(description2); }
protected override System.ServiceModel.Description.ServiceDescription CreateDescription(out IDictionary<string, ContractDescription> implementedContracts) { System.ServiceModel.Description.ServiceDescription description2; try { System.ServiceModel.Description.ServiceDescription description = new ComPlusServiceLoader(this.info).Load(this); implementedContracts = null; description2 = description; } catch (Exception exception) { DiagnosticUtility.EventLog.LogEvent(TraceEventType.Error, EventLogCategory.ComPlus, (EventLogEventId) (-1073610730), new string[] { this.info.AppID.ToString(), this.info.Clsid.ToString(), exception.ToString() }); throw; } return description2; }
protected override ServiceDescription CreateDescription(out IDictionary <string, ContractDescription> implementedContracts) { try { ComPlusServiceLoader loader = new ComPlusServiceLoader(this.info); ServiceDescription description = loader.Load(this); implementedContracts = null; return(description); } catch (Exception e) { DiagnosticUtility.EventLog.LogEvent(TraceEventType.Error, (ushort)System.Runtime.Diagnostics.EventLogCategory.ComPlus, (uint)System.Runtime.Diagnostics.EventLogEventId.ComPlusServiceHostStartingServiceError, this.info.AppID.ToString(), this.info.Clsid.ToString(), e.ToString()); throw; } }
protected override ServiceDescription CreateDescription(out IDictionary<string, ContractDescription> implementedContracts) { try { ComPlusServiceLoader loader = new ComPlusServiceLoader(this.info); ServiceDescription description = loader.Load(this); implementedContracts = null; return description; } catch (Exception e) { DiagnosticUtility.EventLog.LogEvent(TraceEventType.Error, (ushort)System.Runtime.Diagnostics.EventLogCategory.ComPlus, (uint)System.Runtime.Diagnostics.EventLogEventId.ComPlusServiceHostStartingServiceError, this.info.AppID.ToString(), this.info.Clsid.ToString(), e.ToString()); throw; } }