This documentation is archived and is not being maintained.
ProvidersHelper::InstantiateProviders Method
Visual Studio 2010
Initializes a collection of providers of the given type using the supplied settings.
Assembly: System.Web (in System.Web.dll)
[AspNetHostingPermissionAttribute(SecurityAction::Demand, Level = AspNetHostingPermissionLevel::Low)] public: static void InstantiateProviders( ProviderSettingsCollection^ configProviders, ProviderCollection^ providers, Type^ providerType )
Parameters
- configProviders
- Type: System.Configuration::ProviderSettingsCollection
A collection of settings to be passed to the provider upon initialization.
- providers
- Type: System.Configuration.Provider::ProviderCollection
The collection used to contain the initialized providers after the method returns.
- providerType
- Type: System::Type
The Type of the providers to be initialized.
This method calls the InstantiateProvider method, and any exceptions thrown by that method will bubble up through the InstantiateProviders method.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: