System.Web.Services.Discovery.DiscoveryRequestHandler.ProcessRequest Method

Handles an HTTP request for a discovery document, which is serialized to the HTTP response.

Syntax

public void ProcessRequest (System.Web.HttpContext context)

Parameters

context
The System.Web.HttpContext.Request and System.Web.HttpContext.Response properties of the System.Web.HttpContext class are used for input and output, respectively.

Remarks

The DiscoveryRequestHandler.ProcessRequest(System.Web.HttpContext) method searches for applicable files within the file system path corresponding to the HTTP request's Uniform Resource Locator (URL). The search may extend to subdirectories and switch target file extensions depending on what it finds in the root search directory.

The search process populates the System.Web.Services.Discovery.DiscoveryDocument object's DiscoveryDocument.References property with files that are found.

Requirements

Namespace: System.Web.Services.Discovery
Assembly: System.Web.Services (in System.Web.Services.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0