Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

CompositionHost::CreateCompositionHost Method (IEnumerable<ExportDescriptorProvider^>^)

.NET Framework (current version)
 

Creates the composition host with the specified collection of providers.

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

public:
static CompositionHost^ CreateCompositionHost(
	IEnumerable<ExportDescriptorProvider^>^ providers
)

Parameters

providers
Type: System.Collections.Generic::IEnumerable<ExportDescriptorProvider^>^

The providers.

Return Value

Type: System.Composition.Hosting::CompositionHost^

The created composition host.

Return to top
Show:
© 2017 Microsoft