Export (0) Print
Expand All

DiscoveryRequestHandler.ProcessRequest Method

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


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

Supported in: 4.6, 4, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Framework Client Profile

Supported in: 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

© 2014 Microsoft