public RSException(ErrorCode errorCode, string localizedMessage, Exception innerException, RSTrace tracer, string additionalTraceMessage, params object[] exceptionData)
     : this(errorCode, localizedMessage, innerException, tracer, additionalTraceMessage, TraceLevel.Error, exceptionData)
 {
 }
 public RSException(ErrorCode errorCode, string localizedMessage, Exception innerException, RSTrace tracer, string additionalTraceMessage, TraceLevel traceLevel, params object[] exceptionData)
     : base($"{localizedMessage}{(innerException!=null? $"{Environment.NewLine}{innerException.Message}":"")}", innerException)
 {
     this.m_ErrorCode       = errorCode;
     this.m_ProductLocaleID = CultureInfo.CurrentCulture.LCID;
     this.m_CountryLocaleID = CultureInfo.InstalledUICulture.LCID;
     this.m_OS = AspNetCore.ReportingServices.Diagnostics.Utilities.OperatingSystem.OsIndependent;
     this.m_AdditionalTraceMessage = additionalTraceMessage;
     this.m_tracer        = tracer;
     this.m_traceLevel    = traceLevel;
     this.m_exceptionData = exceptionData;
     this.Trace();
     this.OnExceptionCreated();
 }
 public RSTrace(string componentName)
 {
     this.m_ComponentName       = componentName.ToLowerInvariant();
     this.m_componentTraceLevel = RSTrace.GetTraceLevel(this.m_ComponentName);
 }