|
551 | 551 | <param name="item">The object to add to the <see cref="T:System.Collections.Concurrent.IProducerConsumerCollection`1" />. The value can be a null reference (Nothing in Visual Basic) for reference types.</param>
|
552 | 552 | <summary>Attempts to add an object to the <see cref="T:System.Collections.Concurrent.IProducerConsumerCollection`1" />.</summary>
|
553 | 553 | <returns>
|
554 |
| - <see langword="true" /> if the object was added successfully; otherwise, <see langword="false" />.</returns> |
| 554 | + <see langword="true" /> if the object was added successfully; otherwise, <see langword="false" />. (This operation never returns <see langword="false" /> for <xref:System.Collections.Concurrent.ConcurrentQueue%601>.)</returns> |
555 | 555 | <remarks>
|
556 | 556 | <format type="text/markdown"><![CDATA[
|
557 | 557 |
|
|
614 | 614 | <param name="item">When this method returns, if the operation was successful, <paramref name="item" /> contains the object removed. If no object was available to be removed, the value is unspecified.</param>
|
615 | 615 | <summary>Attempts to remove and return an object from the <see cref="T:System.Collections.Concurrent.IProducerConsumerCollection`1" />.</summary>
|
616 | 616 | <returns>
|
617 |
| - <see langword="true" /> if an element was removed and returned successfully; otherwise, <see langword="false" />.</returns> |
| 617 | + <see langword="true" /> if an element was removed and returned successfully; otherwise, <see langword="false" /> (that is, if there were no elements in the queue at the instant the call tried to take an element).</returns> |
618 | 618 | <remarks>
|
619 | 619 | <format type="text/markdown"><![CDATA[
|
620 | 620 |
|
@@ -932,7 +932,7 @@ This member is an explicit interface member implementation. It can be used only
|
932 | 932 | <param name="result">When this method returns, if the operation was successful, <paramref name="result" /> contains the object removed. If no object was available to be removed, the value is unspecified.</param>
|
933 | 933 | <summary>Tries to remove and return the object at the beginning of the concurrent queue.</summary>
|
934 | 934 | <returns>
|
935 |
| - <see langword="true" /> if an element was removed and returned from the beginning of the <see cref="T:System.Collections.Concurrent.ConcurrentQueue`1" /> successfully; otherwise, <see langword="false" />.</returns> |
| 935 | + <see langword="true" /> if an element was removed and returned from the beginning of the <see cref="T:System.Collections.Concurrent.ConcurrentQueue`1" /> successfully; otherwise, <see langword="false" /> (that is, if there were no elements in the queue at the instant the call tried to dequeue).</returns> |
936 | 936 | <remarks>
|
937 | 937 | <format type="text/markdown"><![CDATA[
|
938 | 938 |
|
@@ -994,7 +994,7 @@ This member is an explicit interface member implementation. It can be used only
|
994 | 994 | <param name="result">When this method returns, <paramref name="result" /> contains an object from the beginning of the <see cref="T:System.Collections.Concurrent.ConcurrentQueue`1" /> or an unspecified value if the operation failed.</param>
|
995 | 995 | <summary>Tries to return an object from the beginning of the <see cref="T:System.Collections.Concurrent.ConcurrentQueue`1" /> without removing it.</summary>
|
996 | 996 | <returns>
|
997 |
| - <see langword="true" /> if an object was returned successfully; otherwise, <see langword="false" />.</returns> |
| 997 | + <see langword="true" /> if an object was returned successfully; otherwise, <see langword="false" /> (that is, if there were no elements in the queue at the instant the call tried to peek).</returns> |
998 | 998 | <remarks>
|
999 | 999 | <format type="text/markdown"><![CDATA[
|
1000 | 1000 |
|
|
0 commit comments