Initializes a new instance of the CacheSyncDependency with the
specified parameters. Internally it tries to initialize the remote cache.
If the cache can not be initialized, it throws the exception describing the cause of
failure. The remote cache must be running as outproc even if it is on the same machine.
Namespace: Alachisoft.NCache.Web.CachingAssembly: Alachisoft.NCache.Web (in Alachisoft.NCache.Web.dll) Version: 4.1.0.0 (4.1.0.0)
Syntax
Parameters
- remoteCacheId
- Type: System..::..String
The unique id of the remote cache
- key
- Type: System..::..String
The key of the item in the remote cache with which the
local cache item will be kept synchronized.
- server
- Type: System..::..String
The name of the server where the remote cache is running
- port
- Type: System..::..Int32
The port used by the client to connect to the server
See Also