RedisClientPool 构造函数 (String, Int32, String) |
实例化一个默认的客户端连接池对象,需要指定实例Redis对象时的IP,端口,密码信息
To instantiate a default client connection pool object, you need to specify the IP, port, and password information when the Redis object is instantiated
命名空间:
HslCommunication.Enthernet.Redis
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public RedisClientPool(
string ipAddress,
int port,
string password
)
Public Sub New (
ipAddress As String,
port As Integer,
password As String
)
public:
RedisClientPool(
String^ ipAddress,
int port,
String^ password
)
new :
ipAddress : string *
port : int *
password : string -> RedisClientPool
参数
- ipAddress
- 类型:SystemString
IP地址信息 - port
- 类型:SystemInt32
端口号信息 - password
- 类型:SystemString
密码,如果没有,请输入空字符串
参见