ContractSearchPattern Class
Obtains the file locations and descriptions of ASP.NET Web services. This class cannot be inherited.
Assembly: System.Web.Services (in System.Web.Services.dll)
System.Web.Services.Discovery.DiscoverySearchPattern
System.Web.Services.Discovery.ContractSearchPattern
| Name | Description | |
|---|---|---|
![]() | ContractSearchPattern() | Initializes a new instance of the ContractSearchPattern class. |
| Name | Description | |
|---|---|---|
![]() | Pattern | Gets the file name pattern to use as a search target.(Overrides DiscoverySearchPattern.Pattern.) |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | GetDiscoveryReference(String) | Creates the ContractReference object for the specified .asmx file.(Overrides DiscoverySearchPattern.GetDiscoveryReference(String).) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
The ContractSearchPattern class inherits from the abstract DiscoverySearchPattern class and is 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.
Available since 1.1
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

