Shared Cache is high performance distributed and replication cache system built for .Net applications running in server farms.
Assembly: SharedCache.WinServiceCommon (in SharedCache.WinServiceCommon.dll) Version: 3.0.5.1 (3.0.5.1)
Adds a provider to the collection.
Namespace:
SharedCache.WinServiceCommon.Provider.ServerAssembly: SharedCache.WinServiceCommon (in SharedCache.WinServiceCommon.dll) Version: 3.0.5.1 (3.0.5.1)
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
The provider to be added.
Remarks
[Missing <remarks> documentation for "M:SharedCache.WinServiceCommon.Provider.Server.IndexusServerProviderCollection.Add(System.Configuration.Provider.ProviderBase)"]
Exceptions
| Exception | Condition |
|---|---|
| System..::.ArgumentException | The Name of provider is null.- or -The length of the Name of provider is less than 1. |
| System..::.ArgumentNullException | provider is null. |
| System..::.NotSupportedException | The collection is read-only. |