Partager via


IVsCfgProviderEvents Interface

Provides notifications of configuration events.

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

Syntax

'Declaration
<GuidAttribute("E6D78900-BB40-4039-9C54-593A242B65DA")> _
<InterfaceTypeAttribute()> _
Public Interface IVsCfgProviderEvents
[GuidAttribute("E6D78900-BB40-4039-9C54-593A242B65DA")]
[InterfaceTypeAttribute()]
public interface IVsCfgProviderEvents
[GuidAttribute(L"E6D78900-BB40-4039-9C54-593A242B65DA")]
[InterfaceTypeAttribute()]
public interface class IVsCfgProviderEvents
[<GuidAttribute("E6D78900-BB40-4039-9C54-593A242B65DA")>]
[<InterfaceTypeAttribute()>]
type IVsCfgProviderEvents =  interface end
public interface IVsCfgProviderEvents

The IVsCfgProviderEvents type exposes the following members.

Methods

  Name Description
Public method OnCfgNameAdded Notifies the environment when a configuration name has been added.
Public method OnCfgNameDeleted Notifies the environment when a configuration name has been deleted.
Public method OnCfgNameRenamed Notifies the environment when a configuration name has been renamed.
Public method OnPlatformNameAdded Notifies the environment when a platform name has been added.
Public method OnPlatformNameDeleted Notifies the environment when a platform name has been deleted.

Top

Remarks

This interface provides a way for project configurations to report changes to interested parties. Implementers of IVsCfgProviderEvents call AdviseCfgProviderEvents to register to receive these notifications. When notifications are no longer desired, UnadviseCfgProviderEvents is called to cancel the registration.

Notes to Implementers

Implemented by the environment to enable it to be notified when a project's configuration changes.

Notes to Callers

Called by projects to notify the environment when a configuration or platform name is added, deleted, or renamed.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace