Class NCacheScaleoutConfiguration
NCacheScaleoutConfiguration extends the implementation of ScaleoutConfiguration class. It provides settings for cache server such as cache name and event key.
Inheritance
Assembly: Alachisoft.NCache.AspNet.SignalR.dll
Syntax
public class NCacheScaleoutConfiguration : ScaleoutConfiguration
Constructors
NCacheScaleoutConfiguration(String, String, String, String)
Initializes NCacheScaleoutConfiguration properties of CacheName, EventKey, UserID and Password.
Declaration
public NCacheScaleoutConfiguration(string cacheName, string eventKey, string userID, string password)
Parameters
Type | Name | Description |
---|---|---|
System.String | cacheName | String representing the name of the cache. |
System.String | eventKey | Unique, user specified key attribute for the item added to NCache on client registration. |
System.String | userID | Specifies the userID of authorized user, required when security is enabled on Cache Server. |
System.String | password | Specifies the password of authorized user, required when security is enabled on Cache Server. |
Properties
EventKey
Unique, user specified key attribute for the item added to NCache on client registration.
Declaration
public string EventKey { get; }
Property Value
Type | Description |
---|---|
System.String | Unique, user specified key attribute for the item added to NCache on client registration. |
Password
Specifies the password of authorized user, required when security is enabled on Cache Server.
Declaration
public string Password { get; }
Property Value
Type | Description |
---|---|
System.String | Password of authorized user, required when security is enabled on Cache Server. |
UserID
Specifies the userId of authorized user, required when security is enabled on Cache Server.
Declaration
public string UserID { get; }
Property Value
Type | Description |
---|---|
System.String | UserId of authorized user, required when security is enabled on Cache Server. |