DiscoverySearchPattern.GetDiscoveryReference Method

When overridden in a derived class, returns the DiscoveryReference object for a given file name.

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

public:
virtual DiscoveryReference^ GetDiscoveryReference (
	String^ filename
) abstract
public abstract DiscoveryReference GetDiscoveryReference (
	String filename
)
public abstract function GetDiscoveryReference (
	filename : String
) : DiscoveryReference
Not applicable.

Parameters

filename

The name of a discovery file or a file that appears in a dynamically generated discovery document. For example, an .asmx or .xsd file.

Return Value

A file name.

A class derived from DiscoverySearchPattern implements the GetDiscoveryReference method by returning its associated concrete class derived from DiscoveryReference.

For example, the ContractSearchPattern class returns a ContractReference instance that contains the location of an .asmx Web service file and the corresponding dynamically generated Web Services Description Language (WSDL) document.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions

ADD
Show: