예제 #1
0
        public QueueIdentity(ExtensibleQueueInfo queue) : this()
        {
            QueueIdentity queueIdentity = (QueueIdentity)queue.Identity;

            this.server        = queueIdentity.server;
            this.queueType     = queueIdentity.queueType;
            this.queueRowId    = queueIdentity.queueRowId;
            this.nextHopDomain = queueIdentity.nextHopDomain;
        }
예제 #2
0
 public QueueInfo(ExtensibleQueueInfo queueInfo)
 {
     this.identity         = queueInfo.QueueIdentity;
     this.deliveryType     = queueInfo.DeliveryType;
     this.nextHopConnector = queueInfo.NextHopConnector;
     this.status           = queueInfo.Status;
     this.messageCount     = queueInfo.MessageCount;
     this.lastError        = queueInfo.LastError;
     this.lastRetryTime    = queueInfo.LastRetryTime;
     this.nextRetryTime    = queueInfo.NextRetryTime;
 }