IHttpUrlInfo 接口

在当前上下文中提供特定于 URL 的信息。

语法

class IHttpUrlInfo  

方法

下表列出了 接口 IHttpUrlInfo 公开的方法。

名称 说明
GetModuleContextContainer 返回特定于 URL 的信息的上下文容器。
IsFrequentlyHit 返回一个布尔值,该值指示是否频繁请求 URL。

派生类

此接口不包含派生类。

备注

接口 IHttpUrlInfo 提供当前上下文中 URL 的信息。 例如,可以调用 IPreBeginRequestProvider::GetHttpContextIGlobalTraceEventProvider::GetCurrentHttpRequestContext 方法来检索当前上下文的 IHttpContext 接口,然后调用 IHttpContext::GetUrlInfo 方法来检索 IHttpUrlInfo 接口,以便检索当前上下文的 URL 特定信息。

要求

类型 说明
客户端 - Windows Vista 上的 IIS 7.0
- Windows 7 上的 IIS 7.5
- Windows 8 上的 IIS 8.0
- Windows 10 上的 IIS 10.0
服务器 - Windows Server 2008 上的 IIS 7.0
- Windows Server 2008 R2 上的 IIS 7.5
- Windows Server 2012 上的 IIS 8.0
- Windows Server 2012 R2 上的 IIS 8.5
- Windows Server 2016 上的 IIS 10.0
产品 - IIS 7.0、IIS 7.5、IIS 8.0、IIS 8.5、IIS 10.0
- IIS Express 7.5、IIS Express 8.0、IIS Express 10.0
Header Httpserv.h

另请参阅

Web 服务器核心接口