DiscoveryRequestHandler DiscoveryRequestHandler DiscoveryRequestHandler DiscoveryRequestHandler Class


ASP.NET HTTP 處理常式,用來處理對 Web 服務探索 (Discovery) 文件的要求。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 要求。The 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() DiscoveryRequestHandler() DiscoveryRequestHandler()

初始化 DiscoveryRequestHandler 類別的新執行個體。Initializes a new instance of the DiscoveryRequestHandler class.


IsReusable IsReusable IsReusable IsReusable

取得 true 的值,指出 DiscoveryRequestHandler (或衍生類別) 的執行個體是否可重複使用。Gets a value of true, indicates whether the instance of DiscoveryRequestHandler (or a derived class) is reusable.


Equals(Object) Equals(Object) Equals(Object) Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

做為預設雜湊函式。Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

建立目前 Object 的淺層複製。Creates a shallow copy of the current Object.

(Inherited from Object)
ProcessRequest(HttpContext) ProcessRequest(HttpContext) ProcessRequest(HttpContext) ProcessRequest(HttpContext)

處理探索文件的 HTTP 要求,該文件會序列化到 HTTP 回應中。Handles an HTTP request for a discovery document, which is serialized to the HTTP response.

ToString() ToString() ToString() ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(Inherited from Object)