1 type derived from CompositionException
System.ComponentModel.Composition (1)
System\ComponentModel\Composition\ChangeRejectedException.cs (1)
13public class ChangeRejectedException : CompositionException
4 instantiations of CompositionException
System.ComponentModel.Composition (4)
System\ComponentModel\Composition\CompositionResult.cs (1)
75throw new CompositionException(_errors);
System\ComponentModel\Composition\CompositionResultOfT.cs (1)
74throw new CompositionException(_errors);
System\ComponentModel\Composition\ExceptionBuilder.cs (1)
84return new CompositionException(
System\ComponentModel\Composition\Hosting\ImportEngine.cs (1)
752CompositionException exception = new CompositionException(ErrorBuilder.CreateImportCardinalityMismatch(ex, definition));
54 references to CompositionException
System.ComponentModel.Composition (54)
System\ComponentModel\Composition\AttributedModelServices.cs (4)
171/// <exception cref="CompositionException"> 172/// An error occurred during composition. <see cref="CompositionException.Errors"/> will 202/// <exception cref="CompositionException"> 203/// An error occurred during composition. <see cref="CompositionException.Errors"/> will
System\ComponentModel\Composition\CompositionException.cs (13)
27/// Initializes a new instance of the <see cref="CompositionException"/> class. 35/// Initializes a new instance of the <see cref="CompositionException"/> class 40/// <see cref="CompositionException"/>; or <see langword="null"/> to set 49/// Initializes a new instance of the <see cref="CompositionException"/> class 55/// <see cref="CompositionException"/>; or <see langword="null"/> to set 74/// Initializes a new instance of the <see cref="CompositionException"/> class 80/// <see cref="CompositionException"/>; or <see langword="null"/> to set the 104/// <see cref="CompositionException"/>. 116/// <see cref="CompositionException"/>. 145if (error.Exception is CompositionException ce) 263private static List<Stack<CompositionError>> CalculatePaths(CompositionException exception) 280private static void VisitCompositionException(CompositionException exception, VisitContext context) 313if (exception is CompositionException composition)
System\ComponentModel\Composition\CompositionExceptionDebuggerProxy.cs (2)
14private readonly CompositionException _exception; 16public CompositionExceptionDebuggerProxy(CompositionException exception)
System\ComponentModel\Composition\ExceptionBuilder.cs (1)
78public static CompositionException CreateCannotGetExportedValue(ComposablePart part, ExportDefinition definition, Exception innerException)
System\ComponentModel\Composition\Hosting\AtomicComposition.cs (2)
162catch (CompositionException) 198catch (CompositionException)
System\ComponentModel\Composition\Hosting\CompositionContainer.cs (2)
507/// <exception cref="CompositionException"> 508/// An error occurred during composition. <see cref="CompositionException.Errors"/> will
System\ComponentModel\Composition\Hosting\CompositionServices.cs (3)
540catch (CompositionException ex) 568catch (CompositionException ex) 584catch (CompositionException ex)
System\ComponentModel\Composition\Hosting\ExportProvider.GetExportOverrides.cs (12)
472/// <exception cref="CompositionException"> 473/// An error occurred during composition. <see cref="CompositionException.Errors"/> will 522/// <exception cref="CompositionException"> 523/// An error occurred during composition. <see cref="CompositionException.Errors"/> will 572/// <exception cref="CompositionException"> 573/// An error occurred during composition. <see cref="CompositionException.Errors"/> will 622/// <exception cref="CompositionException"> 623/// An error occurred during composition. <see cref="CompositionException.Errors"/> will 661/// <exception cref="CompositionException"> 662/// An error occurred during composition. <see cref="CompositionException.Errors"/> will 702/// <exception cref="CompositionException"> 703/// An error occurred during composition. <see cref="CompositionException.Errors"/> will
System\ComponentModel\Composition\Hosting\ImportEngine.cs (8)
70/// <exception cref="CompositionException"> 72/// <see cref="CompositionException.Errors"/> will contain a collection of errors that occurred. 77/// <see cref="CompositionException.Errors"/> will contain a collection of errors that occurred. 149/// <exception cref="CompositionException"> 150/// An error occurred during composition. <see cref="CompositionException.Errors"/> will 186/// <exception cref="CompositionException"> 187/// An error occurred during composition. <see cref="CompositionException.Errors"/> will 752CompositionException exception = new CompositionException(ErrorBuilder.CreateImportCardinalityMismatch(ex, definition));
System\ComponentModel\Composition\Hosting\ImportEngine.PartManager.cs (1)
79catch (CompositionException ex)
System\ComponentModel\Composition\ICompositionService.cs (2)
23/// <exception cref="CompositionException"> 24/// An error occurred during composition. <see cref="CompositionException.Errors"/> will
System\ComponentModel\Composition\Primitives\Export.cs (4)
185/// <exception cref="CompositionException"> 186/// An error occurred during composition. <see cref="CompositionException.Errors"/> will 218/// <exception cref="CompositionException"> 219/// An error occurred during composition. <see cref="CompositionException.Errors"/> will