public OpenedQueue(QueueInfo info, MessageQueue queue, string url) { if (!info.Exists) throw new TransportException("The queue " + info.QueueUri + " does not exists"); this.info = info; this.queue = queue; queueUrl = url; queue.MessageReadPropertyFilter.SetAll(); }
public OpenedQueue(QueueInfo info, MessageQueue queue, string url, bool? transactional) { if (!info.Exists) throw new TransportException("The queue " + info.QueueUri + " does not exists"); this.info = info; this.queue = queue; queueUrl = url; this.transactional = transactional ?? (info.IsLocal == false || queue.Transactional); queue.MessageReadPropertyFilter.SetAll(); }
public OpenedQueue(QueueInfo info, MessageQueue queue, string url, bool?transactional) { if (!info.Exists) { throw new TransportException("The queue " + info.QueueUri + " does not exists"); } this.info = info; this.queue = queue; queueUrl = url; this.transactional = transactional ?? (info.IsLocal == false || queue.Transactional); queue.MessageReadPropertyFilter.SetAll(); }