点击或拖拽改变大小

RedisSubscribe 构造函数 (String, Int32)

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

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

参数

ipAddress
类型:SystemString
服务器的IP地址
port
类型:SystemInt32
服务器的端口号
参见