ProvidersHelper.InstantiateProviders Method
Definition
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 collection of providers of the given type using the supplied settings.
public:
static void InstantiateProviders(System::Configuration::ProviderSettingsCollection ^ configProviders, System::Configuration::Provider::ProviderCollection ^ providers, Type ^ providerType);
public static void InstantiateProviders (System.Configuration.ProviderSettingsCollection configProviders, System.Configuration.Provider.ProviderCollection providers, Type providerType);
static member InstantiateProviders : System.Configuration.ProviderSettingsCollection * System.Configuration.Provider.ProviderCollection * Type -> unit
Public Shared Sub InstantiateProviders (configProviders As ProviderSettingsCollection, providers As ProviderCollection, providerType As Type)
Parameters
- configProviders
- ProviderSettingsCollection
A collection of settings to be passed to the provider upon initialization.
- providers
- ProviderCollection
The collection used to contain the initialized providers after the method returns.
Remarks
This method calls the InstantiateProvider method, and any exceptions thrown by that method will bubble up through the InstantiateProviders method.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om