IVsApplicationConfigurationManager 接口

提供对对应于配置层次结构的项目中特定级别的 IVsApplicationConfiguration 实例。

此 API 不兼容 CLS。 

命名空间:  Microsoft.VisualStudio.ManagedInterfaces9
程序集:  Microsoft.VisualStudio.ManagedInterfaces.WCF(在 Microsoft.VisualStudio.ManagedInterfaces.WCF.dll 中)

语法

声明
<GuidAttribute("8213e5f9-8f49-435d-8ab3-cc4811ac0725")> _
<CLSCompliantAttribute(False)> _
Public Interface IVsApplicationConfigurationManager
[GuidAttribute("8213e5f9-8f49-435d-8ab3-cc4811ac0725")]
[CLSCompliantAttribute(false)]
public interface IVsApplicationConfigurationManager
[GuidAttribute(L"8213e5f9-8f49-435d-8ab3-cc4811ac0725")]
[CLSCompliantAttribute(false)]
public interface class IVsApplicationConfigurationManager
[<GuidAttribute("8213e5f9-8f49-435d-8ab3-cc4811ac0725")>]
[<CLSCompliantAttribute(false)>]
type IVsApplicationConfigurationManager =  interface end
public interface IVsApplicationConfigurationManager

IVsApplicationConfigurationManager 类型公开以下成员。

方法

  名称 说明
公共方法 GetApplicationConfiguration 返回对应于项目的 Configuration 对象在 hierarchy 和 itemId 参数表示的级别的 IVsApplicationConfiguration 对象。

页首

备注

使用 IVsApplicationConfigurationManager 接口返回 IVsApplicationConfiguration 实例才能修改 WCF 服务的配置引用。

IVsApplicationConfigurationManager 中访问作为一项全局服务。

请参阅

参考

Microsoft.VisualStudio.ManagedInterfaces9 命名空间