AddIn - 从当前调试进程中获取 AppDomain

发布于 2024-09-05 21:52:18 字数 135 浏览 3 评论 0原文

是否可以从插件中的调试过程中获取当前的应用程序域? 目前我使用 DebuggerEvents.OnEnterBreakMode-Event 来到达正确的位置。 我需要访问已调试应用程序的 HttpContext.Current。

格雷茨 莫

is it possible to get the current appdomain from a debugging process in an addin?
currently i use the DebuggerEvents.OnEnterBreakMode-Event to get in the right place.
i need access to HttpContext.Current of the debugged application.

greetz
mo

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

鹿港巷口少年归 2024-09-12 21:52:18

也许有点晚了,但您可以使用 AddInController.GetAddInController(addIn).AppDomain 来获取应用程序域。

A little late maybe, but you can use AddInController.GetAddInController(addIn).AppDomain to get the appdomain.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文