Export (0) Print
Expand All

CompositionHost.Initialize Method (CompositionContainer)

Silverlight

Updated: December 2010

Sets CompositionInitializer to use the specified container.

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

public static void Initialize(
	CompositionContainer container
)

Parameters

container
Type: System.ComponentModel.Composition.Hosting.CompositionContainer
The container to use.

ExceptionCondition
ArgumentNullException

container is null.

InvalidOperationException

This method has already been called.

Silverlight

Supported in: 5, 4

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Date

History

Reason

December 2010

Added exceptions.

Content bug fix.

Community Additions

ADD
Show:
© 2014 Microsoft