Compartir a través de


IVsAggregatableProject2 Interface

Represents an aggregatable project.

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

Syntax

'Declaration
<GuidAttribute("44CEC4A2-7148-4044-B836-678374E296F2")> _
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
Public Interface IVsAggregatableProject2
[GuidAttribute("44CEC4A2-7148-4044-B836-678374E296F2")]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsAggregatableProject2
[GuidAttribute(L"44CEC4A2-7148-4044-B836-678374E296F2")]
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
public interface class IVsAggregatableProject2
[<GuidAttribute("44CEC4A2-7148-4044-B836-678374E296F2")>]
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
type IVsAggregatableProject2 =  interface end
public interface IVsAggregatableProject2

The IVsAggregatableProject2 type exposes the following members.

Methods

  Name Description
Public method OnAggregationFailure Called if an error occurs while creating inner layers from aggregation chain after the current flavor object is being created by its factory. This should be used to disconnect any references current flavor holds to inner or outer flavor objects. OnAggregationFailure will be called individually on each flavor. Implementation should not chain the call to to inner flavor (as opposed to OnAggregationComplete which should be chained to inner). This method will not be called if all flavors layers are successfully created via PreCreateForOuter and succeeded on SetInnerProject and InitializeForOuter calls. If the error occurs later in the process ( inside OnAggregationComplete ) then IVsHierarchy::Close() will be called instead.

Top

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace