Пример #1
0
 public void Add(TransportQueueLog queueLog)
 {
     if (queueLog == null)
     {
         throw new ArgumentNullException("queueLog object is null");
     }
     if (string.IsNullOrWhiteSpace(queueLog.QueueName))
     {
         throw new ArgumentNullException("queueLog.QueueName is empty/null");
     }
     this.QueueLogs.Add(queueLog);
 }
Пример #2
0
 internal QueueDigestDetails(TransportQueueLog details)
 {
     this.QueueIdentity        = details.QueueName;
     this.MessageCount         = details.MessageCount;
     this.DeferredMessageCount = new int?(details.DeferredMessageCount);
     this.LockedMessageCount   = new int?(details.LockedMessageCount);
     this.IncomingRate         = new double?(details.IncomingRate);
     this.OutgoingRate         = new double?(details.OutgoingRate);
     this.Velocity             = new double?(details.Velocity);
     this.NextHopDomain        = details.NextHopDomain;
     this.NextHopCategory      = details.NextHopCategory;
     this.DeliveryType         = details.DeliveryType;
     this.Status           = details.Status;
     this.RiskLevel        = details.RiskLevel;
     this.OutboundIPPool   = details.OutboundIPPool;
     this.LastError        = details.LastError;
     this.NextHopConnector = new Guid?(details.NextHopConnector);
     this.TlsDomain        = details.TlsDomain;
 }