Partager via


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

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

See Also

Reference

IVsWCFReferenceManagerFactory Interface

Microsoft.VisualStudio.WCFReference.Interop Namespace