DiscoveryRequestHandler.ProcessRequest Method (HttpContext)

 

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

Namespace:   System.Web.Services.Discovery
Assembly:  System.Web.Services (in System.Web.Services.dll)

public void ProcessRequest(
	HttpContext context
)

Parameters

context
Type: System.Web.HttpContext

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

The ProcessRequest 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 DiscoveryDocument object's References property with files that are found.

.NET Framework
Available since 1.1
Return to top
Show: