CompositionContainer.ReleaseExports Method (IEnumerable<Export>)

 

Releases a set of Export objects from the CompositionContainer.

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

member ReleaseExports : 
        exports:IEnumerable<Export> -> unit

Parameters

exports
Type: System.Collections.Generic.IEnumerable<Export>

A collection of Export objects to be released.

Exception Condition
ArgumentNullException

exports is null.

ArgumentException

exports contains an element that is null.

The behavior of this method may vary depending on the context in which the Export was constructed. For more information, see the ReleaseExport method.

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