public ExceptionDetailNoStackTrace(ExceptionDetailNoStackTrace detail, bool includeInnerException) { this.HelpLink = string.Empty; this.Message = detail.Message; this.Type = detail.Type; this.StackTrace = string.Empty; this.InnerException = null; if (includeInnerException && detail.InnerException != null) { this.InnerException = new ExceptionDetailNoStackTrace(detail.InnerException, includeInnerException); } }
public ExceptionDetailNoStackTrace(ExceptionDetailNoStackTrace detail) : this(detail, false) { }