IVsWCFReferenceManagerFactory::IsReferenceManagerSupported Method (IVsHierarchy^)

 

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

Namespace:   Microsoft.VisualStudio.WCFReference.Interop
Assembly:  Microsoft.VisualStudio.WCFReference.Interop (in Microsoft.VisualStudio.WCFReference.Interop.dll)

int IsReferenceManagerSupported(
	IVsHierarchy^ pHierProject
)

Parameters

pHierProject
Type: Microsoft.VisualStudio.Shell.Interop::IVsHierarchy^

The IVsHierarchy for the project.

Return Value

Type: System::Int32

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

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

Return to top
Show: