ComposablePartExportProvider.SourceProvider Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets or sets the export provider that provides access to additional Export objects.

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

public ExportProvider SourceProvider { get; set; }

Property Value

Type: System.ComponentModel.Composition.Hosting.ExportProvider

A provider that provides the ComposablePartExportProvider access to Export objects.

The default is null.

Exception Condition

The ComposablePartExportProvider has been disposed of.


value is null.


This property has already been set.


The methods on the ComposablePartExportProvider have already been accessed.

This property must be set before accessing any methods on the ComposablePartExportProvider.

.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Available since 4.0
Return to top