实例化一个默认的对象
Instantiate a default object
命名空间:
HslCommunication.Core.Pipe
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public PipeMqttClient(
MqttClient mqttClient,
string readTopic,
string writeTopic
)
Public Sub New (
mqttClient As MqttClient,
readTopic As String,
writeTopic As String
)
public:
PipeMqttClient(
MqttClient^ mqttClient,
String^ readTopic,
String^ writeTopic
)
new :
mqttClient : MqttClient *
readTopic : string *
writeTopic : string -> PipeMqttClient
参数
- mqttClient
- 类型:HslCommunication.MQTTMqttClient
[缺少 "M:HslCommunication.Core.Pipe.PipeMqttClient.#ctor(HslCommunication.MQTT.MqttClient,System.String,System.String)" 的 <param name="mqttClient"/> 文档]
- readTopic
- 类型:SystemString
[缺少 "M:HslCommunication.Core.Pipe.PipeMqttClient.#ctor(HslCommunication.MQTT.MqttClient,System.String,System.String)" 的 <param name="readTopic"/> 文档]
- writeTopic
- 类型:SystemString
[缺少 "M:HslCommunication.Core.Pipe.PipeMqttClient.#ctor(HslCommunication.MQTT.MqttClient,System.String,System.String)" 的 <param name="writeTopic"/> 文档]
参见