Compartilhar via


IVsWCFReferenceManagerFactory.GetReferenceManager(IVsHierarchy) Method

Definition

Returns a Windows Communication Foundation (WCF) reference manager for a project.

public:
 Microsoft::VisualStudio::WCFReference::Interop::IVsWCFReferenceManager ^ GetReferenceManager(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pHierProject);
public:
 Microsoft::VisualStudio::WCFReference::Interop::IVsWCFReferenceManager ^ GetReferenceManager(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pHierProject);
Microsoft::VisualStudio::WCFReference::Interop::IVsWCFReferenceManager GetReferenceManager(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy const & pHierProject);
public Microsoft.VisualStudio.WCFReference.Interop.IVsWCFReferenceManager GetReferenceManager (Microsoft.VisualStudio.Shell.Interop.IVsHierarchy pHierProject);
abstract member GetReferenceManager : Microsoft.VisualStudio.Shell.Interop.IVsHierarchy -> Microsoft.VisualStudio.WCFReference.Interop.IVsWCFReferenceManager
Public Function GetReferenceManager (pHierProject As IVsHierarchy) As IVsWCFReferenceManager

Parameters

pHierProject
IVsHierarchy

The IVsHierarchy for the project.

Returns

A WCF reference manager object.

Remarks

If WCF service references are not supported, GetReferenceManager returns an error. A client can call IsReferenceManagerSupported to verify whether WCF service references are supported.

Applies to