public Task AbandonAsync() { if (IsAbandoned || IsCompleted) { throw new InvalidOperationException("Queue entry has already been completed or abandoned."); } IsAbandoned = true; return(_queue.AbandonAsync(this)); }
public Task AbandonAsync() { return(_queue.AbandonAsync(Id)); }