Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

MqttConnectingFailedException.cs 455 B

pirms 7 gadiem
pirms 7 gadiem
12345678910111213141516
  1. using MQTTnet.Core.Exceptions;
  2. using MQTTnet.Core.Protocol;
  3. namespace MQTTnet.Core.Adapter
  4. {
  5. public class MqttConnectingFailedException : MqttCommunicationException
  6. {
  7. public MqttConnectingFailedException(MqttConnectReturnCode returnCode)
  8. : base($"Connecting with MQTT server failed ({returnCode}).")
  9. {
  10. ReturnCode = returnCode;
  11. }
  12. public MqttConnectReturnCode ReturnCode { get; }
  13. }
  14. }