System.Web.Services.Discovery.DiscoveryDocumentLinksPattern.GetDiscoveryReference Method

Returns the System.Web.Services.Discovery.DiscoveryDocumentReference object for a given discovery document.

Syntax

public override DiscoveryReference GetDiscoveryReference (string filename)

Parameters

filename
The file-system path of the discovery document.

Returns

A System.Web.Services.Discovery.DiscoveryDocumentReference object that specifies the location of a .vsdisco file.

Remarks

The concrete System.Web.Services.Discovery.DiscoveryDocumentReference class inherits from the abstract System.Web.Services.Discovery.DiscoveryReference class.

A System.Web.Services.Discovery.DiscoveryDocumentReference instance contains the location of the .vsdisco file, which is also the file system directory corresponding to the HTTP request passed to the DiscoveryRequestHandler.ProcessRequest(System.Web.HttpContext) method.

Requirements

Namespace: System.Web.Services.Discovery
Assembly: System.Web.Services (in System.Web.Services.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0