Share via


CompositionConfiguration.CompositionErrors Property

Definition

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.

Applies to