Redigera

Dela via


DiscoveryDocumentLinksPattern.GetDiscoveryReference(String) Method

Definition

Returns the DiscoveryDocumentReference object for a given discovery document.

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 discovery document.

Returns

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

Remarks

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.

Applies to