DiscoverySearchPattern Class (System.Web.Services.Discovery)

Switch View :
ScriptFree
.NET Framework Class Library
DiscoverySearchPattern Class

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

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

Visual Basic (Declaration)
<PermissionSetAttribute(SecurityAction.InheritanceDemand, Name := "FullTrust")> _
Public MustInherit Class DiscoverySearchPattern
Visual Basic (Usage)
Dim instance As DiscoverySearchPattern
C#
[PermissionSetAttribute(SecurityAction.InheritanceDemand, Name = "FullTrust")]
public abstract class DiscoverySearchPattern
Visual C++
[PermissionSetAttribute(SecurityAction::InheritanceDemand, Name = L"FullTrust")]
public ref class DiscoverySearchPattern abstract
JScript
public abstract class DiscoverySearchPattern
Remarks

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 References property, and those files can have other extensions, represented by implementations of DiscoverySearchPattern .

The DiscoverySearchPattern class and its concrete derived classes are employed by the DiscoveryRequestHandler class's ProcessRequest method, which handles an HTTP request for a discovery document. Normally, none of these classes need to be used directly by a developer.

Inheritance Hierarchy

System.Object
  System.Web.Services.Discovery.DiscoverySearchPattern
    System.Web.Services.Discovery.ContractSearchPattern
    System.Web.Services.Discovery.DiscoveryDocumentLinksPattern
    System.Web.Services.Discovery.DiscoveryDocumentSearchPattern
    System.Web.Services.Discovery.XmlSchemaSearchPattern
Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information

.NET Framework

Supported in: 3.5, 3.0, 2.0, 1.1, 1.0
See Also

Reference