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.
 
 
 
 

27 regels
661 B

  1. using System;
  2. namespace MQTTnet.Core.Diagnostics
  3. {
  4. public sealed class MqttTraceMessagePublishedEventArgs : EventArgs
  5. {
  6. public MqttTraceMessagePublishedEventArgs(int threadId, string source, MqttTraceLevel level, string message, Exception exception)
  7. {
  8. ThreadId = threadId;
  9. Source = source;
  10. Level = level;
  11. Message = message;
  12. Exception = exception;
  13. }
  14. public int ThreadId { get; }
  15. public string Source { get; }
  16. public MqttTraceLevel Level { get; }
  17. public string Message { get; }
  18. public Exception Exception { get; }
  19. }
  20. }