19 instantiations of 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);
24 references to CompositionFailedException
System.Composition.Hosting (7)
System\Composition\Hosting\CompositionHost.cs (1)
73/// <exception cref="CompositionFailedException" />
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 (2)
95var ex = new CompositionFailedException(message); 194/// <exception cref="CompositionFailedException" />
System\Composition\Hosting\Providers\Metadata\MetadataViewProvider.cs (1)
87var ex = new CompositionFailedException(message);
System.Composition.Runtime (17)
System\Composition\CompositionContext.cs (14)
24/// <exception cref="CompositionFailedException" /> 33/// <exception cref="CompositionFailedException" /> 46/// <exception cref="CompositionFailedException" /> 59/// <exception cref="CompositionFailedException" /> 73/// <exception cref="CompositionFailedException" /> 90/// <exception cref="CompositionFailedException" /> 104/// <exception cref="CompositionFailedException" /> 123/// <exception cref="CompositionFailedException" /> 136/// <exception cref="CompositionFailedException" /> 148/// <exception cref="CompositionFailedException" /> 162/// <exception cref="CompositionFailedException" /> 175/// <exception cref="CompositionFailedException" /> 192/// <exception cref="CompositionFailedException" /> 205/// <exception cref="CompositionFailedException" />
System\Composition\Hosting\CompositionFailedException.cs (3)
14/// Construct a <see cref="CompositionFailedException"/> with the default message. 21/// Construct a <see cref="CompositionFailedException"/>. 29/// Construct a <see cref="CompositionFailedException"/>.