WebServiceHandlerFactory 类

定义

动态生成其类型实现 IHttpHandler 接口的 Web 服务处理程序实例。Dynamically manufactures Web service handler instances, whose type or types implement the IHttpHandler interface.

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

注解

IHttpHandler接口会建立协定, ASP.NET 使用该协定通过自定义 http 处理程序处理传入的 http Web 请求。The IHttpHandler interface establishes the contract that ASP.NET uses to process incoming HTTP Web requests with custom HTTP handlers. 类生成用于处理 Web 服务请求IHttpHandler的实现的实例。 WebServiceHandlerFactoryThe WebServiceHandlerFactory class produces an instance of an IHttpHandler implementation for handling Web service requests.

构造函数

WebServiceHandlerFactory()

初始化 WebServiceHandlerFactory 类的新实例。Initializes a new instance of the WebServiceHandlerFactory class.

方法

Equals(Object)

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

(继承自 Object)
GetHandler(HttpContext, String, String, String)

返回一个 IHttpHandler 实例。Returns an IHttpHandler instance.

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)
ReleaseHandler(IHttpHandler)

释放 IHttpHandler 实例。Releases the IHttpHandler instance.

ToString()

返回一个表示当前对象的 string。Returns a string that represents the current object.

(继承自 Object)

适用于