Поделиться через


IVsUpdateSolutionEvents2 Interface

Implemented by VSPackages to sink build events for solution and project builds.

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

Syntax

'Declaration
<GuidAttribute("F59DBC1A-91C3-45C9-9796-1CAB558502DD")> _
<InterfaceTypeAttribute()> _
Public Interface IVsUpdateSolutionEvents2 _
    Inherits IVsUpdateSolutionEvents
[GuidAttribute("F59DBC1A-91C3-45C9-9796-1CAB558502DD")]
[InterfaceTypeAttribute()]
public interface IVsUpdateSolutionEvents2 : IVsUpdateSolutionEvents
[GuidAttribute(L"F59DBC1A-91C3-45C9-9796-1CAB558502DD")]
[InterfaceTypeAttribute()]
public interface class IVsUpdateSolutionEvents2 : IVsUpdateSolutionEvents
[<GuidAttribute("F59DBC1A-91C3-45C9-9796-1CAB558502DD")>]
[<InterfaceTypeAttribute()>]
type IVsUpdateSolutionEvents2 =  
    interface
        interface IVsUpdateSolutionEvents
    end
public interface IVsUpdateSolutionEvents2 extends IVsUpdateSolutionEvents

The IVsUpdateSolutionEvents2 type exposes the following members.

Methods

  Name Description
Public method OnActiveProjectCfgChange Called when the active project configuration for a project in the solution has changed.
Public method UpdateProjectCfg_Begin Called right before a project configuration begins to build.
Public method UpdateProjectCfg_Done Called right after a project configuration is finished building.
Public method UpdateSolution_Begin Called before any build actions have begun. This is the last chance to cancel the build before any building begins.
Public method UpdateSolution_Cancel Called when a build is being cancelled.
Public method UpdateSolution_Done Called when a build is completed.
Public method UpdateSolution_StartUpdate Called before the first project configuration is about to be built.

Top

Remarks

Notes to Implementers

Implemented when VSPackages need to sink build events.

Notes to Callers

Called by the environment.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace