Пример #1
0
 public DisposeMessageAsyncResult(AmqpMessageReceiver parent, IEnumerable <Guid> lockTokens, Outcome outcome, bool batchable, TimeSpan timeout, AsyncCallback callback, object state) : base(parent, outcome, batchable, timeout, callback, state)
 {
     this.lockTokens = lockTokens;
     Fx.AssertIsNotNull(this.lockTokens, "lockToken collection should not be null");
     base.Start();
 }
Пример #2
0
 public DisposeEventAsyncResult(AmqpMessageReceiver parent, IEnumerable <ArraySegment <byte> > deliveryTags, Outcome outcome, bool batchable, TimeSpan timeout, AsyncCallback callback, object state) : base(parent, outcome, batchable, timeout, callback, state)
 {
     this.deliveryTags = deliveryTags;
     Fx.AssertIsNotNull(this.deliveryTags, "offsets collection should not be null");
     base.Start();
 }