CompositionInitializer.SatisfyImports Method (ComposablePart)

Silverlight

Fills the imports of the specified part.

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

public static void SatisfyImports(
	ComposablePart part
)

Parameters

part
Type: System.ComponentModel.Composition.Primitives.ComposablePart
The part to fill the imports of.

ExceptionCondition
ArgumentNullException

attributedPart is null.

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.

Silverlight

Supported in: 5, 4

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show: