HttpRemotingHandler 类

定义

实现将请求转发到远程处理 HTTP 信道的 ASP.NET 处理程序。Implements an ASP.NET handler that forwards requests to the remoting HTTP channel.

public ref class HttpRemotingHandler : System::Web::IHttpHandler
public class HttpRemotingHandler : System.Web.IHttpHandler
type HttpRemotingHandler = class
    interface IHttpHandler
Public Class HttpRemotingHandler
Implements IHttpHandler
继承
HttpRemotingHandler
实现

注解

自定义 HTTP 处理程序处理特定的预定义类型的 HTTP 请求。Custom HTTP handlers process specific, predefined types of HTTP requests. 在类中定义的可执行代码 IHttpHandler (而不是传统的 ASP 或 ASP.NET 网页)对这些特定请求做出响应。Executable code defined in the IHttpHandler classes, rather than conventional ASP or ASP.NET Web pages, responds to these specific requests. HTTP 处理程序提供了一种与 IIS Web 服务器的低级请求和响应服务交互的方式,并提供了类似于 ISAPI 扩展的功能,但具有更简单的编程模型。HTTP handlers provide a way of interacting with the low-level request and response services of the IIS Web server, and provide functionality similar to ISAPI extensions but with a simpler programming model.

构造函数

HttpRemotingHandler()

使用默认值初始化 HttpRemotingHandler 类的新实例。Initializes a new instance of the HttpRemotingHandler class with default values.

HttpRemotingHandler(Type, Object)

使用默认值初始化 HttpRemotingHandler 类的新实例。Initializes a new instance of the HttpRemotingHandler class with default values.

属性

IsReusable

获取一个布尔值,它指示其他请求是否可以使用 HttpRemotingHandlerGets a Boolean value that indicates whether another request can use the HttpRemotingHandler.

方法

Equals(Object)

确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ProcessRequest(HttpContext)

通过当前实例启用对 HTTP Web 请求的处理。Enables processing of HTTP Web requests by the current instance.

ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(继承自 Object)

适用于