ComposablePartExportProvider.Compose Method
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Updated: December 2010
Executes composition on the specified batch.
Namespace:  System.ComponentModel.Composition.Hosting
Assembly:  System.ComponentModel.Composition (in System.ComponentModel.Composition.dll)
Syntax
'Declaration
Public Sub Compose ( _
    batch As CompositionBatch _
)
public void Compose(
    CompositionBatch batch
)
Parameters
- batch
 Type: System.ComponentModel.Composition.Hosting.CompositionBatch
 The batch to execute composition on.
Exceptions
| Exception | Condition | 
|---|---|
| InvalidOperationException | The container is already in the process of composing. | 
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.
See Also
Reference
Change History
| Date | History | Reason | 
|---|---|---|
| December 2010 | Added exception. | Content bug fix. |