CompositionContainer.SatisfyImportsOnce Method (ComposablePart)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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)

public void SatisfyImportsOnce(
	ComposablePart part
)

Parameters

part
Type: System.ComponentModel.Composition.Primitives.ComposablePart

The part to satisfy the imports of.

Exception Condition
ObjectDisposedException

The CompositionContainer object has been disposed of.

ArgumentNullException

part is null.

CompositionException

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

.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 4.0
Return to top
Show: