IVsAggregatableProject2.OnAggregationFailure Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public:
void OnAggregationFailure();
public:
void OnAggregationFailure();
void OnAggregationFailure();
public void OnAggregationFailure ();
abstract member OnAggregationFailure : unit -> unit
Public Sub OnAggregationFailure ()