CompositionInitializer.SatisfyImports Method (ComposablePart)
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Fills the imports of the specified part.
Namespace: System.ComponentModel.Composition
Assembly: System.ComponentModel.Composition.Initialization (in System.ComponentModel.Composition.Initialization.dll)
Syntax
'Declaration
Public Shared Sub SatisfyImports ( _
part As ComposablePart _
)
public static void SatisfyImports(
ComposablePart part
)
Parameters
- part
Type: System.ComponentModel.Composition.Primitives.ComposablePart
The part to fill the imports of.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | attributedPart is nulla null reference (Nothing in Visual Basic). |
ArgumentException | attributedPart contains exports. |
ChangeRejectedException | One or more of the imports of attributedPart could not be satisfied. |
CompositionException | One or more of the imports of attributedPart caused a composition error. |
Version Information
Silverlight
Supported in: 5, 4
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.