Bewerken

Share via


CatalogExportProvider Constructors

Definition

Initializes a new instance of the CatalogExportProvider class.

Overloads

CatalogExportProvider(ComposablePartCatalog)

Initializes a new instance of the CatalogExportProvider class with the specified catalog.

CatalogExportProvider(ComposablePartCatalog, Boolean)

Initializes a new instance of the CatalogExportProvider class with the specified catalog and optional thread-safe mode.

CatalogExportProvider(ComposablePartCatalog, CompositionOptions)

Initializes a new instance of the CatalogExportProvider class with the specified catalog and composition options.

CatalogExportProvider(ComposablePartCatalog)

Source:
CatalogExportProvider.cs
Source:
CatalogExportProvider.cs
Source:
CatalogExportProvider.cs

Initializes a new instance of the CatalogExportProvider class with the specified catalog.

public:
 CatalogExportProvider(System::ComponentModel::Composition::Primitives::ComposablePartCatalog ^ catalog);
public CatalogExportProvider (System.ComponentModel.Composition.Primitives.ComposablePartCatalog catalog);
new System.ComponentModel.Composition.Hosting.CatalogExportProvider : System.ComponentModel.Composition.Primitives.ComposablePartCatalog -> System.ComponentModel.Composition.Hosting.CatalogExportProvider
Public Sub New (catalog As ComposablePartCatalog)

Parameters

catalog
ComposablePartCatalog

The catalog that the CatalogExportProvider uses to produce Export objects.

Exceptions

catalog is null.

Applies to

CatalogExportProvider(ComposablePartCatalog, Boolean)

Source:
CatalogExportProvider.cs
Source:
CatalogExportProvider.cs
Source:
CatalogExportProvider.cs

Initializes a new instance of the CatalogExportProvider class with the specified catalog and optional thread-safe mode.

public:
 CatalogExportProvider(System::ComponentModel::Composition::Primitives::ComposablePartCatalog ^ catalog, bool isThreadSafe);
public CatalogExportProvider (System.ComponentModel.Composition.Primitives.ComposablePartCatalog catalog, bool isThreadSafe);
new System.ComponentModel.Composition.Hosting.CatalogExportProvider : System.ComponentModel.Composition.Primitives.ComposablePartCatalog * bool -> System.ComponentModel.Composition.Hosting.CatalogExportProvider
Public Sub New (catalog As ComposablePartCatalog, isThreadSafe As Boolean)

Parameters

catalog
ComposablePartCatalog

The catalog that the CatalogExportProvider uses to produce Export objects.

isThreadSafe
Boolean

true if this object must be thread-safe; otherwise, false.

Exceptions

catalog is null.

Applies to

CatalogExportProvider(ComposablePartCatalog, CompositionOptions)

Source:
CatalogExportProvider.cs
Source:
CatalogExportProvider.cs
Source:
CatalogExportProvider.cs

Initializes a new instance of the CatalogExportProvider class with the specified catalog and composition options.

public:
 CatalogExportProvider(System::ComponentModel::Composition::Primitives::ComposablePartCatalog ^ catalog, System::ComponentModel::Composition::Hosting::CompositionOptions compositionOptions);
public CatalogExportProvider (System.ComponentModel.Composition.Primitives.ComposablePartCatalog catalog, System.ComponentModel.Composition.Hosting.CompositionOptions compositionOptions);
new System.ComponentModel.Composition.Hosting.CatalogExportProvider : System.ComponentModel.Composition.Primitives.ComposablePartCatalog * System.ComponentModel.Composition.Hosting.CompositionOptions -> System.ComponentModel.Composition.Hosting.CatalogExportProvider
Public Sub New (catalog As ComposablePartCatalog, compositionOptions As CompositionOptions)

Parameters

catalog
ComposablePartCatalog

The catalog that the CatalogExportProvider uses to produce Export objects.

compositionOptions
CompositionOptions

Options that determine the behavior of this provider.

Exceptions

catalog is null.

Applies to