void LogServiceActivationException(ServiceActivationException activationException) { if (TD2.ServiceExceptionIsEnabled()) { TD2.ServiceException(this.eventTraceActivity, activationException.ToString(), typeof(ServiceActivationException).FullName); } if (TD.ServiceActivationExceptionIsEnabled()) { TD.ServiceActivationException(activationException != null ? activationException.ToString() : string.Empty, activationException); } DiagnosticUtility.UnsafeEventLog.UnsafeLogEvent(TraceEventType.Error, (ushort)System.Runtime.Diagnostics.EventLogCategory.WebHost, (uint)System.Runtime.Diagnostics.EventLogEventId.WebHostFailedToProcessRequest, true, TraceUtility.CreateSourceString(this), activationException.ToString()); }