Udostępnij za pośrednictwem


IVsAggregatableProject2 Interface

Definition

Represents an aggregatable project.

public interface class IVsAggregatableProject2
public interface class IVsAggregatableProject2
__interface IVsAggregatableProject2
[System.Runtime.InteropServices.Guid("44CEC4A2-7148-4044-B836-678374E296F2")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsAggregatableProject2
[<System.Runtime.InteropServices.Guid("44CEC4A2-7148-4044-B836-678374E296F2")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsAggregatableProject2 = interface
Public Interface IVsAggregatableProject2
Attributes

Methods

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.

Applies to