public object Invoke(ThreadContext context, object _this, object[] _params, bool bVisual, bool autoLogDump) { object result; try { result = this.Invoke(context, _this, _params, bVisual); } catch (Exception ex) { bool flag = context == null; if (flag) { context = ThreadContext.activeContext; } bool flag2 = context == null; if (flag2) { throw new Exception("当前线程没有创建ThreadContext,无法Dump", ex); } context.environment.logger.Log_Error(context.Dump()); throw ex; } return(result); }
public object Invoke(ThreadContext context, object _this, object[] _params, bool bVisual, bool autoLogDump) { try { return(Invoke(context, _this, _params, bVisual)); } catch (Exception err) { if (context == null) { context = ThreadContext.activeContext; } if (context == null) { throw new Exception("当前线程没有创建ThreadContext,无法Dump", err); } else { context.environment.logger.Log_Error(context.Dump()); throw err; } } }
public object Invoke(ThreadContext context, object _this, object[] _params, bool bVisual, bool autoLogDump) { try { return Invoke(context, _this, _params, bVisual); } catch (Exception err) { if (context == null) context = ThreadContext.activeContext; if (context == null) throw new Exception("当前线程没有创建ThreadContext,无法Dump", err); else { context.environment.logger.Log_Error(context.Dump()); throw err; } } }