ContractSearchPattern.GetDiscoveryReference(String) Method

Definition

Creates the ContractReference object for the specified .asmx file.

C#
public override System.Web.Services.Discovery.DiscoveryReference GetDiscoveryReference(string filename);

Parameters

filename
String

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

Returns

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

Remarks

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.

Applies to

Produkt Verzie
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1