Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DiscoveryDocumentLinksPattern.GetDiscoveryReference Method

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 3.5 SP1
© 2015 Microsoft