AggregateExportProvider Constructors
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the AggregateExportProvider class.
AggregateExportProvider(IEnumerable<ExportProvider>) |
Initializes a new instance of the AggregateExportProvider class. |
AggregateExportProvider(ExportProvider[]) |
Initializes a new instance of the AggregateExportProvider class. |
- Source:
- AggregateExportProvider.cs
- Source:
- AggregateExportProvider.cs
- Source:
- AggregateExportProvider.cs
Initializes a new instance of the AggregateExportProvider class.
public:
AggregateExportProvider(System::Collections::Generic::IEnumerable<System::ComponentModel::Composition::Hosting::ExportProvider ^> ^ providers);
public AggregateExportProvider (System.Collections.Generic.IEnumerable<System.ComponentModel.Composition.Hosting.ExportProvider>? providers);
public AggregateExportProvider (System.Collections.Generic.IEnumerable<System.ComponentModel.Composition.Hosting.ExportProvider> providers);
new System.ComponentModel.Composition.Hosting.AggregateExportProvider : seq<System.ComponentModel.Composition.Hosting.ExportProvider> -> System.ComponentModel.Composition.Hosting.AggregateExportProvider
Public Sub New (providers As IEnumerable(Of ExportProvider))
Parameters
- providers
- IEnumerable<ExportProvider>
The prioritized list of export providers. The providers are consulted in the order in which they are supplied.
Exceptions
One or more elements of providers
are null
.
Remarks
The AggregateExportProvider class consults the providers in the order in which they have been specified when it calls GetExports.
The AggregateExportProvider does not take ownership of the specified providers. That is, it tries to dispose of any of the providers when it is disposed.
Applies to
.NET 9 (package-provided) et autres versions
Produit | Versions |
---|---|
.NET | 8 (package-provided), 9 (package-provided) |
.NET Framework | 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
- Source:
- AggregateExportProvider.cs
- Source:
- AggregateExportProvider.cs
- Source:
- AggregateExportProvider.cs
Initializes a new instance of the AggregateExportProvider class.
public:
AggregateExportProvider(... cli::array <System::ComponentModel::Composition::Hosting::ExportProvider ^> ^ providers);
public AggregateExportProvider (params System.ComponentModel.Composition.Hosting.ExportProvider[]? providers);
public AggregateExportProvider (params System.ComponentModel.Composition.Hosting.ExportProvider[] providers);
new System.ComponentModel.Composition.Hosting.AggregateExportProvider : System.ComponentModel.Composition.Hosting.ExportProvider[] -> System.ComponentModel.Composition.Hosting.AggregateExportProvider
Public Sub New (ParamArray providers As ExportProvider())
Parameters
- providers
- ExportProvider[]
The prioritized list of export providers.
Exceptions
providers
contains an element that is null
.
Remarks
The AggregateExportProvider class consults the providers in the order in which they have been specified when it calls GetExports.
The AggregateExportProvider does not take ownership of the specified providers. That is, it tries to dispose of any of the providers when it is disposed.
Applies to
.NET 9 (package-provided) et autres versions
Produit | Versions |
---|---|
.NET | 8 (package-provided), 9 (package-provided) |
.NET Framework | 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
Commentaires sur .NET
.NET est un projet open source. Sélectionnez un lien pour fournir des commentaires :