ComposablePartExportProvider.SourceProvider Property

 

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
ObjectDisposedException

The ComposablePartExportProvider has been disposed of.

ArgumentNullException

value is null.

InvalidOperationException

This property has already been set.

-or-

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
Silverlight
Available since 4.0
Return to top
Show: