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

.NET Framework (current version)
 

Creates the composition host with the specified array of providers.

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

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

Parameters

providers
Type: array<System.Composition.Hosting.Core::ExportDescriptorProvider^>^

The providers.

Return Value

Type: System.Composition.Hosting::CompositionHost^

The created composition host.

Return to top
Show: