You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

17 regels
455 B

  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. }