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