确切的运行时主机是什么? [英] What is the exactly Runtime Host?

查看:85
本文介绍了确切的运行时主机是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Runtime Host的确切定义是什么?

What is the exactly definition of Runtime Host?

来自MSDN


公共语言运行库旨在支持各种不同类型的应用程序,从Web服务器应用程序到具有以下功能的应用程序:传统的丰富Windows用户界面。每种类型的应用程序都需要运行时主机才能启动。运行时主机将运行时加载到流程中,在流程中创建应用程序域,并将用户代码加载到应用程序域中。

The common language runtime has been designed to support a variety of different types of applications, from Web server applications to applications with a traditional rich Windows user interface. Each type of application requires a runtime host to start it. The runtime host loads the runtime into a process, creates the application domains within the process, and loads user code into the application domains.



如何在任务管理器中检查它?

So is it a process which loads the runtime into another process?
How do I check it in Task Manager?

推荐答案

否,这是一个将运行时DLL(例如mscoree.dll等)加载到其进程空间中的进程。

No, it's a process that loads the runtime DLLs ( e.g. mscoree.dll, etc ) into its process space.

因此只有1个进程空间。

So there is only 1 process space.

所指的运行时实际上是.Net运行时或CLR。从简化的传统OS的角度来看,CLR实际上只是一组DLL。因此,您需要一个OS进程来加载和执行该DLL的入口点。此 hosting 可执行文件是您的运行时主机。实际上,.Net运行时主机会为CLR做很多事情(请参见托管概述

The runtime that is referred to is really the .Net runtime or CLR. And from a simplified traditional OS point of view, the CLR is really just a set of DLLs. So, you need a OS process to load and execute the entry point of that DLL. This hosting executable is your runtime host. In reality the .Net runtime host does a lot of things for the CLR ( See Hosting Overview )

您提到了MSDN,所以我想您已经看过运行时主机。您可以看到它们提供的示例都是托管CLR(DLL)的所有可执行文件。

You mentioned MSDN, so I guess you've looked at Runtime Hosts on there. You can see the examples they give are all executables that host the CLR ( DLLs ).

希望有帮助。

这篇关于确切的运行时主机是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆