CLR、运行时、主机

发布于 2024-11-02 03:48:58 字数 506 浏览 3 评论 0原文

这里 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 thehostimplements and theruntimediscovers through the IHostControl interface.

Management interfaces that theCLRprovides and the host discovers through the ICLRControl interface.

Can you pls explain what these bold words are?

Thanks.

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

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

发布评论

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

评论(1

梦里的微风 2024-11-09 03:48:58

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

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