您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

MqttNetTraceMessagePublishedEventArgs.cs 673 B

1234567891011121314151617181920212223242526
  1. using System;
  2. namespace MQTTnet.Core.Diagnostics
  3. {
  4. public sealed class MqttNetTraceMessagePublishedEventArgs : EventArgs
  5. {
  6. public MqttNetTraceMessagePublishedEventArgs(int threadId, string source, MqttNetTraceLevel 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 MqttNetTraceLevel Level { get; }
  17. public string Message { get; }
  18. public Exception Exception { get; }
  19. }
  20. }