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: