IVsWCFReferenceManagerFactory.IsReferenceManagerSupported Method
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)
Syntax
'Déclaration
Function IsReferenceManagerSupported ( _
pHierProject As IVsHierarchy _
) As Integer
int IsReferenceManagerSupported(
IVsHierarchy pHierProject
)
int IsReferenceManagerSupported(
[InAttribute] IVsHierarchy^ pHierProject
)
abstract IsReferenceManagerSupported :
pHierProject:IVsHierarchy -> int
function IsReferenceManagerSupported(
pHierProject : IVsHierarchy
) : int
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.
Remarks
Call this method before you try to use the GetReferenceManager method to create a WCF reference manager.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.