共用方式為


IVsUpdateSolutionEvents2 Interface

Definition

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

public interface class IVsUpdateSolutionEvents2 : Microsoft::VisualStudio::Shell::Interop::IVsUpdateSolutionEvents
public interface class IVsUpdateSolutionEvents2 : Microsoft::VisualStudio::Shell::Interop::IVsUpdateSolutionEvents
__interface IVsUpdateSolutionEvents2 : Microsoft::VisualStudio::Shell::Interop::IVsUpdateSolutionEvents
[System.Runtime.InteropServices.Guid("F59DBC1A-91C3-45C9-9796-1CAB558502DD")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsUpdateSolutionEvents2 : Microsoft.VisualStudio.Shell.Interop.IVsUpdateSolutionEvents
[System.Runtime.InteropServices.Guid("F59DBC1A-91C3-45C9-9796-1CAB558502DD")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsUpdateSolutionEvents2 : Microsoft.VisualStudio.Shell.Interop.IVsUpdateSolutionEvents
[<System.Runtime.InteropServices.Guid("F59DBC1A-91C3-45C9-9796-1CAB558502DD")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsUpdateSolutionEvents2 = interface
    interface IVsUpdateSolutionEvents
[<System.Runtime.InteropServices.Guid("F59DBC1A-91C3-45C9-9796-1CAB558502DD")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsUpdateSolutionEvents2 = interface
    interface IVsUpdateSolutionEvents
Public Interface IVsUpdateSolutionEvents2
Implements IVsUpdateSolutionEvents
Attributes
Implements

Notes to Implementers

Implemented when VSPackages need to sink build events.

Notes to Callers

Called by the environment.

Methods

OnActiveProjectCfgChange(IVsHierarchy)

Called when the active project configuration for a project in the solution has changed.

UpdateProjectCfg_Begin(IVsHierarchy, IVsCfg, IVsCfg, UInt32, Int32)

Called right before a project configuration begins to build.

UpdateProjectCfg_Done(IVsHierarchy, IVsCfg, IVsCfg, UInt32, Int32, Int32)

Called right after a project configuration is finished building.

UpdateSolution_Begin(Int32)

Called before any build actions have begun. This is the last chance to cancel the build before any building begins.

UpdateSolution_Cancel()

Called when a build is being cancelled.

UpdateSolution_Done(Int32, Int32, Int32)

Called when a build is completed.

UpdateSolution_StartUpdate(Int32)

Called before the first project configuration is about to be built.

Applies to