System.Web.Services.Discovery.ContractSearchPattern Class

Obtains the file locations and descriptions of ASP.NET Web services. This class cannot be inherited.

See Also: ContractSearchPattern


public sealed class ContractSearchPattern : DiscoverySearchPattern


The ContractSearchPattern class inherits from the abstract DiscoverySearchPattern class and is employed by the DiscoveryRequestHandler class's DiscoveryRequestHandler.ProcessRequest(HttpContext) method, which handles an HTTP request for a discovery document. Normally, none of these classes need to be used directly by a developer.


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

The members of System.Web.Services.Discovery.ContractSearchPattern are listed below.

See Also: DiscoverySearchPattern

Public Constructors

Initializes a new instance of the ContractSearchPattern class.

Public Properties


Gets the file name pattern to use as a search target.

Public Methods

GetDiscoveryReference(String) : DiscoveryReference

Creates the ContractReference object for the specified .asmx file.