Sdílet prostřednictvím


IVsWCFReferenceManagerFactory.IsReferenceManagerSupported Method

Definition

Returns a value that determines whether a project supports Windows Communication Foundation (WCF) service references.

public:
 int IsReferenceManagerSupported(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pHierProject);
public:
 int IsReferenceManagerSupported(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pHierProject);
int IsReferenceManagerSupported(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy const & pHierProject);
public int IsReferenceManagerSupported (Microsoft.VisualStudio.Shell.Interop.IVsHierarchy pHierProject);
abstract member IsReferenceManagerSupported : Microsoft.VisualStudio.Shell.Interop.IVsHierarchy -> int
Public Function IsReferenceManagerSupported (pHierProject As IVsHierarchy) As Integer

Parameters

pHierProject
IVsHierarchy

The IVsHierarchy for the project.

Returns

0 if WCF service references are not supported; otherwise any non-zero Integer.

Remarks

Call this method before you try to use the GetReferenceManager method to create a WCF reference manager.

Applies to