获取根目录通过AppDomain.CurrentDomain.BaseDirectory

 

因为不能直接获取session ,使用的替代方案如下

 

private static Dictionary<string,bool> isCancel = new System.Collections.Generic.Dictionary<string,bool>();

private static Dictionary<string, string> dicSql = new System.Collections.Generic.Dictionary<string, string>();

 

 

设置变量用于暂停后台正在执行的任务

或者存储临时结果.

 

相关文章:

  • 2022-12-23
  • 2021-07-09
  • 2022-02-19
  • 2021-12-25
  • 2022-12-23
  • 2021-07-10
猜你喜欢
  • 2021-07-14
  • 2022-02-22
  • 2021-10-27
  • 2021-12-24
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案