The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
CompositionDependency::Oversupplied Method (CompositionContract^, IEnumerable<ExportDescriptorPromise^>^, Object^)
.NET Framework (current version)
Constructs a placeholder for a dependency that has too many supplied values.
Assembly: System.Composition.Hosting (in System.Composition.Hosting.dll)
public: static CompositionDependency^ Oversupplied( CompositionContract^ contract, IEnumerable<ExportDescriptorPromise^>^ targets, Object^ site )
Parameters
- contract
-
Type:
System.Composition.Hosting.Core::CompositionContract^
The dependency's contract.
- targets
-
Type:
System.Collections.Generic::IEnumerable<ExportDescriptorPromise^>^
A collection of values supplied.
- site
-
Type:
System::Object^
A marker for the dependency.
Return Value
Type: System.Composition.Hosting.Core::CompositionDependency^The placeholder dependency.
Show: