CompositionConfiguration.CompositionErrors Property
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.
Gets the compositional errors detected while creating this configuration that led to the removal of parts from the catalog backing this configuration.
public System.Collections.Immutable.IImmutableStack<System.Collections.Generic.IReadOnlyCollection<Microsoft.VisualStudio.Composition.ComposedPartDiagnostic>> CompositionErrors { get; }
member this.CompositionErrors : System.Collections.Immutable.IImmutableStack<System.Collections.Generic.IReadOnlyCollection<Microsoft.VisualStudio.Composition.ComposedPartDiagnostic>>
Public ReadOnly Property CompositionErrors As IImmutableStack(Of IReadOnlyCollection(Of ComposedPartDiagnostic))
Property Value
Remarks
The errors are collected as a stack. The topmost stack element represents the first level of errors detected. As errors are detected and parts removed to achieve a 'stable composition', each cycle of removing parts and detecting additional errors gets a deeper element in the stack. Therefore the 'root cause' of all failures is generally found in the topmost stack element.