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)
'宣告
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
- pHierProject
Type: Microsoft.VisualStudio.Shell.Interop.IVsHierarchy
The IVsHierarchy for the project.
Type: 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.
- 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.