Compartir a través de


CompositionInitializer.SatisfyImports Method (Object)

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Fills the imports of the specified attributed part.

Namespace:  System.ComponentModel.Composition
Assembly:  System.ComponentModel.Composition.Initialization (in System.ComponentModel.Composition.Initialization.dll)

Syntax

'Declaration
Public Shared Sub SatisfyImports ( _
    attributedPart As Object _
)
public static void SatisfyImports(
    Object attributedPart
)

Parameters

  • attributedPart
    Type: System.Object
    The attributed 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.