Compartir a través de


IVsAggregatableProject2.OnAggregationFailure Method

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.

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

Syntax

'Declaration
Sub OnAggregationFailure
void OnAggregationFailure()
void OnAggregationFailure()
abstract OnAggregationFailure : unit -> unit
function OnAggregationFailure()

.NET Framework Security

See Also

Reference

IVsAggregatableProject2 Interface

Microsoft.VisualStudio.Shell.Interop Namespace