共用方式為


IVsWCFReferenceManagerFactory Interface

Provides an interface for creating IVsWCFReferenceManager instances.

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

Syntax

'宣告
<GuidAttribute("2FE19F72-EDD1-4FA4-9F36-A90A52ED166A")> _
<InterfaceTypeAttribute()> _
Public Interface IVsWCFReferenceManagerFactory
[GuidAttribute("2FE19F72-EDD1-4FA4-9F36-A90A52ED166A")]
[InterfaceTypeAttribute()]
public interface IVsWCFReferenceManagerFactory
[GuidAttribute(L"2FE19F72-EDD1-4FA4-9F36-A90A52ED166A")]
[InterfaceTypeAttribute()]
public interface class IVsWCFReferenceManagerFactory
[<GuidAttribute("2FE19F72-EDD1-4FA4-9F36-A90A52ED166A")>]
[<InterfaceTypeAttribute()>]
type IVsWCFReferenceManagerFactory =  interface end
public interface IVsWCFReferenceManagerFactory

The IVsWCFReferenceManagerFactory type exposes the following members.

Methods

  Name Description
Public method GetReferenceManager Returns a Windows Communication Foundation (WCF) reference manager for a project.
Public method IsReferenceManagerSupported Returns a value that determines whether a project supports Windows Communication Foundation (WCF) service references.

Top

Remarks

A reference manager factory is used to create a Windows Communication Foundation (WCF) reference manager instance for a given project (represented by IVsHierarchy instance).

The reference manager factory only supports a project that supports storage service. If WCF service references are not supported, GetReferenceManager returns an error. A client can call IsReferenceManagerSupported to verify whether WCF service references are supported.

See Also

Reference

Microsoft.VisualStudio.WCFReference.Interop Namespace