ContractSearchPattern.GetDiscoveryReference(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates the ContractReference object for the specified .asmx file.
public:
override System::Web::Services::Discovery::DiscoveryReference ^ GetDiscoveryReference(System::String ^ filename);
public override System.Web.Services.Discovery.DiscoveryReference GetDiscoveryReference (string filename);
override this.GetDiscoveryReference : string -> System.Web.Services.Discovery.DiscoveryReference
Public Overrides Function GetDiscoveryReference (filename As String) As DiscoveryReference
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.