Szerkesztés

Megosztás a következőn keresztül:


ContractSearchPattern.GetDiscoveryReference(String) Method

Definition

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.

Applies to