Exemplo n.º 1
0
 internal AutoReader(QueueClient queueClient, string subscription, AutoReaderOptions options)
 {
     this.options      = options ?? new AutoReaderOptions();
     this.QueueClient  = queueClient;
     this.Subscription = subscription;
     reader            = new Reader(queueClient, subscription, 30);
 }
Exemplo n.º 2
0
 public AutoReader CreateAutoReader(string subscription, AutoReaderOptions options = null)
 {
     FindSubscriptionOrThrowException(subscription);
     return(new AutoReader(this, subscription, options));
 }