IVsWCFReferenceManagerFactory.GetReferenceManager Method
Returns a Windows Communication Foundation (WCF) reference manager for a project.
Namespace: Microsoft.VisualStudio.WCFReference.Interop
Assembly: Microsoft.VisualStudio.WCFReference.Interop (in Microsoft.VisualStudio.WCFReference.Interop.dll)
Syntax
'Declaration
Function GetReferenceManager ( _
pHierProject As IVsHierarchy _
) As IVsWCFReferenceManager
IVsWCFReferenceManager GetReferenceManager(
IVsHierarchy pHierProject
)
IVsWCFReferenceManager^ GetReferenceManager(
[InAttribute] IVsHierarchy^ pHierProject
)
abstract GetReferenceManager :
pHierProject:IVsHierarchy -> IVsWCFReferenceManager
function GetReferenceManager(
pHierProject : IVsHierarchy
) : IVsWCFReferenceManager
Parameters
pHierProject
Type: Microsoft.VisualStudio.Shell.Interop.IVsHierarchyThe IVsHierarchy for the project.
Return Value
Type: Microsoft.VisualStudio.WCFReference.Interop.IVsWCFReferenceManager
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.
.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.