开发者

Process and AppDomain load/unload

If I instance a new Process in which I then create a new AppDomain, I'm wondering what is the safest way to end the Process. Should I:

  1. AppDomain.Unload(myAppDoma开发者_运维百科in)
  2. Process.Close() OR Process.Dispose(), then Process.Close()


No, there is no need to unload your domain manually before closing the process. And you should call only Process.Close().

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜