25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

MqttConnectingFailedException.cs 456 B

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