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(); }
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(); }