Class RemoteCacheKeyDependency
This class allows to form a key based dependency in a remote cache.
Inherited Members
Assembly: Alachisoft.NCache.Client.dll
Syntax
[Serializable]
public class RemoteCacheKeyDependency : ExtensibleDependency, IDisposable, IBinaryProtocolSerializable, ISerializableExtensibleDependency
              Constructors
RemoteCacheKeyDependency(String, String)
Creates instance of RemoteCacheKeyDependency.
Declaration
public RemoteCacheKeyDependency(string remoteCacheKey, string remoteCacheID)
              Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | remoteCacheKey | Unique key to identify item in remote cache.  | 
                  
| System.String | remoteCacheID | ID of the remote cache.  | 
                  
Properties
HasChanged
Returns flag determining a change in the RemoteCacheKeyDependency.
Declaration
public override bool HasChanged { get; }
              Property Value
| Type | Description | 
|---|---|
| System.Boolean | Specifies a boolean value, either true or false.  | 
                  
Overrides
RemoteCacheID
ID of the remote cache.
Declaration
public string RemoteCacheID { get; set; }
              Property Value
| Type | Description | 
|---|---|
| System.String | ID of the remote cache.  | 
                  
RemoteCacheKey
Unique key to identify item in a remote cache.
Declaration
public string RemoteCacheKey { get; set; }
              Property Value
| Type | Description | 
|---|---|
| System.String | Unique key to identify item in a remote cache.  | 
                  
Methods
DependencyDispose()
Disposes RemoteCacheKeyDependency.
Declaration
protected override void DependencyDispose()
              Overrides
Initialize()
Initializes the RegisterRemoteCacheDependency.
Declaration
public override bool Initialize()
              Returns
| Type | Description | 
|---|---|
| System.Boolean | Flag representing the status of initialize operation.  |