ComposablePartExportProvider.SourceProvider Property
Microsoft Silverlight will reach end of support after October 2021. Learn more.
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)
Syntax
'Declaration
Public Property SourceProvider As ExportProvider
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 nulla null reference (Nothing in Visual Basic).
Exceptions
| Exception | Condition | 
|---|---|
| ObjectDisposedException | The ComposablePartExportProvider has been disposed of. | 
| ArgumentNullException | value is nulla null reference (Nothing in Visual Basic). | 
| InvalidOperationException | This property has already been set. -or- The methods on the ComposablePartExportProvider have already been accessed. | 
Version Information
Silverlight
Supported in: 5, 4
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.