Adds the specified provider to this collection.
Namespace:
Endeca.DataAssembly: Endeca.Data (in Endeca.Data.dll) Version: 2.1.1.0 (2.1.1.620)
Syntax
C# |
---|
public override void Add( ProviderBase provider ) |
Visual Basic (Declaration) |
---|
Public Overrides Sub Add ( _ provider As ProviderBase _ ) |
Visual C++ |
---|
public: virtual void Add( ProviderBase^ provider ) override |
Parameters
- provider
- Type: System.Configuration.Provider..::.ProviderBase
Provider to add.
Exceptions
Exception | Condition |
---|---|
System..::.ArgumentNullException | if provider is null. |
System..::.ArgumentException | if provider is not a CommandSerializationProvider instance. |