DiscoveryRequestHandler 类

定义

一个处理对 Web 服务发现文档的请求的 ASP.NET HTTP 处理程序。An ASP.NET HTTP handler that processes a request for a Web services discovery document.

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

注解

类通过其ProcessRequest方法处理对发现文档的 HTTP 请求。 DiscoveryRequestHandlerThe DiscoveryRequestHandler class, via its ProcessRequest method, processes an HTTP request for a discovery document. 发现文档由DiscoveryDocument类表示, 通常使用 .disco 扩展名序列化为文件。A discovery document is represented by the DiscoveryDocument class and is usually serialized as a file using a .disco extension. Web 服务发现提供了一种机制, 用于确定在给定位置可用的 Web 服务。Web services discovery provides a mechanism for determining the Web services that are available at a given location.

通常DiscoveryRequestHandler , 开发人员无需直接使用该类。The DiscoveryRequestHandler class normally does not need to be used directly by a developer.

构造函数

DiscoveryRequestHandler()

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

属性

IsReusable

获取 true 值,该值指示 DiscoveryRequestHandler(或派生类)的实例是否可以重用。Gets a value of true, indicates whether the instance of DiscoveryRequestHandler (or a derived class) is reusable.

方法

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 请求,该发现文档被序列化为 HTTP 响应。Handles an HTTP request for a discovery document, which is serialized to the HTTP response.

ToString()

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

(继承自 Object)

适用于

另请参阅