CLR、运行时、主机
这里 http://msdn.microsoft.com/en -us/library/zaf1h1h5(v=VS.90).aspx 它说:
在.NET Framework 2.0版本中,CLR提供托管管理接口来控制托管运行时的许多功能,使主机应用程序能够实现运行时提供的其他管理接口,并允许您实现自己的托管管理接口。
出于发现的目的,管理接口分为两大类:
主机
主机实现的管理接口和
运行时通过 IHostControl 接口发现。
CLR 提供的管理接口,主机通过 ICLRControl 接口发现。
您能解释一下这些粗体字是什么吗?
谢谢。
Here http://msdn.microsoft.com/en-us/library/zaf1h1h5(v=VS.90).aspx it says:
In the .NET Framework version 2.0, the CLR provides hosting management interfaces to control many features of the hosted runtime, enables the host application to implement other management interfaces provided by the runtime, and lets you implement your own hosting management interfaces.
For purposes of discovery, the management interfaces fall into two broad categories:
Management interfaces that the
hostimplements and the
runtimediscovers through the IHostControl interface.
Management interfaces that the
CLRprovides and the host discovers through the ICLRControl interface.
Can you pls explain what these bold words are?
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
CLR 是公共语言运行时,所有 dotnet 应用程序运行的环境。
主机(在此上下文中)是托管 CLR 的非托管应用程序,以便托管代码可以在其上下文中运行(例如 SQL Server、IIS 等)。 您提供的链接的父页面 解释了这一点。
“运行时”指的是 CLR。
更新
请参阅这篇 MSDNMag 文章,了解 CLR 托管 API 的详细概述
CLR is the Common Language Runtime, the environment under which all the dotnet applications run.
Host (in this context) is the unmanged application which hosts the CLR under it so that managed code can be run in its context (for eg. SQL Server, IIS etc). The parent page of the link provided by you explains this.
"Runtime" rerers to CLR.
Update
Have a look at this MSDNMag article for a detailed overview of CLR hosting APIs