CompositionContainer.SatisfyImportsOnce Method

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

Satisfies the imports of the specified ComposablePart object without registering it for recomposition.

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

Syntax

'Declaration
Public Sub SatisfyImportsOnce ( _
    part As ComposablePart _
)
public void SatisfyImportsOnce(
    ComposablePart part
)

Parameters

Implements

ICompositionService.SatisfyImportsOnce(ComposablePart)

Exceptions

Exception Condition
ObjectDisposedException

The CompositionContainer object has been disposed of.

ArgumentNullException

part is nulla null reference (Nothing in Visual Basic).

CompositionException

An error occurred during composition. Errors will contain a collection of the errors that occurred.

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.