Skip to content

Commit e60dcef

Browse files
authored
Merge pull request #1341 from microsoft/AArnott-patch-1
Update AsyncQueue.Enqueue doc
2 parents 09af24d + 383d7b0 commit e60dcef

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Microsoft.VisualStudio.Threading/AsyncQueue`1.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ public void Complete()
161161
/// Adds an element to the tail of the queue.
162162
/// </summary>
163163
/// <param name="value">The value to add.</param>
164+
/// <exception cref="InvalidOperationException">Thrown if <see cref="Complete" /> has already been called. Use <see cref="TryEnqueue" /> to avoid an exception in this case.</exception>
164165
public void Enqueue(T value)
165166
{
166167
if (!this.TryEnqueue(value))

0 commit comments

Comments
 (0)