DiscoveryDocumentLinksPattern.GetDiscoveryReference Method (String)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Returns the DiscoveryDocumentReference object for a given discovery document.

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

public override DiscoveryReference GetDiscoveryReference(
	string filename


Type: System.String

The file-system path of the discovery document.

Return Value

Type: System.Web.Services.Discovery.DiscoveryReference

A DiscoveryDocumentReference object that specifies the location of a .vsdisco file.

The concrete DiscoveryDocumentReference class inherits from the abstract DiscoveryReference class.

A DiscoveryDocumentReference instance contains the location of the .vsdisco file, which is also the file system directory corresponding to the HTTP request passed to the ProcessRequest method.

.NET Framework
Available since 1.1
Return to top