ContractSearchPattern::GetDiscoveryReference Method (String^)
.NET Framework (current version)
Creates the ContractReference object for the specified .asmx file.
Assembly: System.Web.Services (in System.Web.Services.dll)
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
Available since 1.1
Show: