点击或拖拽改变大小

RedisSubscribe 构造函数 (String, Int32, String)

实例化一个发布订阅类的客户端,需要指定ip地址,端口,及订阅关键字。
To instantiate a publish-subscribe client, you need to specify the ip address, port, and subscription keyword.

命名空间:  HslCommunication.Enthernet.Redis
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:12.0.0.0 (12.0.0.0)
语法
public RedisSubscribe(
	string ipAddress,
	int port,
	string key
)

参数

ipAddress
类型:SystemString
服务器的IP地址
port
类型:SystemInt32
服务器的端口号
key
类型:SystemString
订阅关键字
参见