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.

MqttConnectingFailedException.cs 455 B

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