CompositionContainer.SatisfyImportsOnce Method (ComposablePart)

 

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)

abstract SatisfyImportsOnce : 
        part:ComposablePart -> unit
override SatisfyImportsOnce : 
        part:ComposablePart -> unit

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: