System.Web.Services.Discovery.DiscoverySearchPattern Class

Establishes an interface for file extension search patterns for discoverable file types.

See Also: DiscoverySearchPattern Members


public abstract class DiscoverySearchPattern


You can use the DiscoveryDocument.References property to add a discoverable file type to a Web services document. While a discovery document is usually serialized as a file using a .disco extension, you can add multiple files to the DiscoveryDocument.References property, and those files can have other extensions, represented by implementations of System.Web.Services.Discovery.DiscoverySearchPattern .

The System.Web.Services.Discovery.DiscoverySearchPattern class and its concrete derived classes are employed by the System.Web.Services.Discovery.DiscoveryRequestHandler class's DiscoveryRequestHandler.ProcessRequest(System.Web.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,