ContractSearchPattern.GetDiscoveryReference Method (String)

 
Use BaseTrue

Creates the ContractReference object for the specified .asmx file.

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

Public Overrides Function GetDiscoveryReference (
	filename As String
) As DiscoveryReference

Parameters

filename
Type: System.String

The file-system path of the Web service's .asmx file.

Return Value

Type: System.Web.Services.Discovery.DiscoveryReference

A ContractReference object with the specified file name for its .asmx file.

The concrete ContractReference class inherits from the abstract DiscoveryReference class.

A ContractReference instance contains the location of the .asmx file and the corresponding Web Services Description Language (WSDL) document, which can be dynamically obtained by appending a wsdl query string to the .asmx file path.

.NET Framework
Available since 1.1
Return to top
Show: