Miner.System Assembly > Miner.Configuration Namespace > ProvidersHelper Class > InstantiateProvider Method : InstantiateProvider<TProvider>(ProviderSettings) Method |
'Declaration Public Overloads Shared Function InstantiateProvider(Of TProvider As ProviderBase)( _ ByVal providerSettings As ProviderSettings _ ) As TProvider
'Usage Dim providerSettings As ProviderSettings Dim value As TProvider value = ProvidersHelper.InstantiateProvider(Of TProvider)(providerSettings)
public static TProvider InstantiateProvider<TProvider>( ProviderSettings providerSettings ) where TProvider: ProviderBase
Exception | Description |
---|---|
System.ArgumentNullException | Thrown if 'providerSettings' is null. |
System.Configuration.Provider.ProviderException | Thrown if specified provider type is not valid or not of the type specified by 'TProvider'. |
Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)
Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.