19 references to CompositionFailedException
System.Composition.Hosting (7)
System\Composition\Hosting\Core\ExportDescriptorRegistry.cs (1)
50var ex = new CompositionFailedException(SR.Format(SR.CardinalityMismatch_TooManyExports, exportKey));
System\Composition\Hosting\Core\ExportDescriptorRegistryUpdate.cs (2)
63var ex = new CompositionFailedException(message.ToString()); 101var ex = new CompositionFailedException(message.ToString());
System\Composition\Hosting\Core\LifetimeContext.cs (1)
95var ex = new CompositionFailedException(message);
System\Composition\Hosting\Providers\Metadata\MetadataViewProvider.cs (3)
25throw new CompositionFailedException(SR.Format(SR.MetadataViewProvider_InvalidViewImplementation, typeof(TMetadata).Name)); 73throw new CompositionFailedException(SR.Format(SR.MetadataViewProvider_InvalidViewImplementation, typeof(TMetadata).Name)); 87var ex = new CompositionFailedException(message);
System.Composition.Runtime (1)
System\Composition\CompositionContext.cs (1)
154throw new CompositionFailedException(SR.Format(SR.CompositionContext_NoExportFoundForContract, contract));
System.Composition.TypedParts (11)
System\Composition\CompositionContextExtensions.cs (1)
75throw new CompositionFailedException(SR.Format(
System\Composition\TypedParts\ActivationFeatures\OnImportsSatisfiedFeature.cs (1)
50throw new CompositionFailedException(message);
System\Composition\TypedParts\ContractHelpers.cs (1)
84throw new CompositionFailedException(message);
System\Composition\TypedParts\Discovery\DiscoveredPart.cs (3)
94throw new CompositionFailedException(message); 111throw new CompositionFailedException(message); 154throw new CompositionFailedException(message);
System\Composition\TypedParts\Discovery\TypeInspector.cs (5)
174throw new CompositionFailedException(message); 183throw new CompositionFailedException(message); 196throw new CompositionFailedException(message); 207throw new CompositionFailedException(message); 233throw new CompositionFailedException(message);