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

20 行
565 B

  1. using System;
  2. namespace MQTTnet
  3. {
  4. public class MqttApplicationMessageReceivedEventArgs : EventArgs
  5. {
  6. public MqttApplicationMessageReceivedEventArgs(string clientId, MqttApplicationMessage applicationMessage)
  7. {
  8. ClientId = clientId;
  9. ApplicationMessage = applicationMessage ?? throw new ArgumentNullException(nameof(applicationMessage));
  10. }
  11. public string ClientId { get; }
  12. public MqttApplicationMessage ApplicationMessage { get; }
  13. public bool ProcessingFailed { get; set; }
  14. }
  15. }