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.

MqttClientDisconnectedEventArgs.cs 415 B

7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
1234567891011121314151617
  1. using System;
  2. namespace MQTTnet.Client
  3. {
  4. public class MqttClientDisconnectedEventArgs : EventArgs
  5. {
  6. public MqttClientDisconnectedEventArgs(bool clientWasConnected, Exception exception)
  7. {
  8. ClientWasConnected = clientWasConnected;
  9. Exception = exception;
  10. }
  11. public bool ClientWasConnected { get; }
  12. public Exception Exception { get; }
  13. }
  14. }