packages/System.Collections.Concurrent.4.3.0/ref/netstandard1.3/System.Collections.Concurrent.xml
(开头部分) 126KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<?xml version="1.0" encoding="utf-8"?>
<doc>
<assembly>
<name>System.Collections.Concurrent</name>
</assembly>
<members>
<member name="T:System.Collections.Concurrent.BlockingCollection`1">
<summary>Provides blocking and bounding capabilities for thread-safe collections that implement <see cref="T:System.Collections.Concurrent.IProducerConsumerCollection`1" />.</summary>
<typeparam name="T">The type of elements in the collection.</typeparam>
</member>
<member name="M:System.Collections.Concurrent.BlockingCollection`1.#ctor">
<summary>Initializes a new instance of the <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> class without an upper-bound.</summary>
</member>
<member name="M:System.Collections.Concurrent.BlockingCollection`1.#ctor(System.Collections.Concurrent.IProducerConsumerCollection{`0})">
<summary>Initializes a new instance of the <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> class without an upper-bound and using the provided <see cref="T:System.Collections.Concurrent.IProducerConsumerCollection`1" /> as its underlying data store.</summary>
<param name="collection">The collection to use as the underlying data store.</param>
<exception cref="T:System.ArgumentNullException">The <paramref name="collection" /> argument is null.</exception>
</member>
<member name="M:System.Collections.Concurrent.BlockingCollection`1.#ctor(System.Collections.Concurrent.IProducerConsumerCollection{`0},System.Int32)">
<summary>Initializes a new instance of the <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> class with the specified upper-bound and using the provided <see cref="T:System.Collections.Concurrent.IProducerConsumerCollection`1" /> as its underlying data store.</summary>
<param name="collection">The collection to use as the underlying data store.</param>
<param name="boundedCapacity">The bounded size of the collection.</param>
<exception cref="T:System.ArgumentNullException">The <paramref name="collection" /> argument is null.</exception>
<exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="boundedCapacity" /> is not a positive value.</exception>
<exception cref="T:System.ArgumentException">The supplied <paramref name="collection" /> contains more values than is permitted by <paramref name="boundedCapacity" />.</exception>
</member>
<member name="M:System.Collections.Concurrent.BlockingCollection`1.#ctor(System.Int32)">
<summary>Initializes a new instance of the <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> class with the specified upper-bound.</summary>
<param name="boundedCapacity">The bounded size of the collection.</param>
<exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="boundedCapacity" /> is not a positive value.</exception>
</member>
<member name="M:System.Collections.Concurrent.BlockingCollection`1.Add(`0)">
<summary>Adds the item to the <see cref="T:System.Collections.Concurrent.BlockingCollection`1" />.</summary>
<param name="item">The item to be added to the collection. The value can be a null reference.</param>
<exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> has been disposed.</exception>
<exception cref="T:System.InvalidOperationException">The <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> has been marked as complete with regards to additions.-or-The underlying collection didn't accept the item.</exception>
</member>
<member name="M:System.Collections.Concurrent.BlockingCollection`1.Add(`0,System.Threading.CancellationToken)">
<summary>Adds the item to the <see cref="T:System.Collections.Concurrent.BlockingCollection`1" />.</summary>
<param name="item">The item to be added to the collection. The value can be a null reference.</param>
<param name="cancellationToken">A cancellation token to observe.</param>
<exception cref="T:System.OperationCanceledException">If the <see cref="T:System.Threading.CancellationToken" /> is canceled.</exception>
<exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> has been disposed or the <see cref="T:System.Threading.CancellationTokenSource" /> that owns <paramref name="cancellationToken" /> has been disposed.</exception>
<exception cref="T:System.InvalidOperationException">The <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> has been marked as complete with regards to additions.-or-The underlying collection didn't accept the item.</exception>
</member>
<member name="M:System.Collections.Concurrent.BlockingCollection`1.AddToAny(System.Collections.Concurrent.BlockingCollection{`0}[],`0)">
<summary>Adds the specified item to any one of the specified <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> instances.</summary>
<returns>The index of the collection in the <paramref name="collections" /> array to which the item was added.</returns>
<param name="collections">The array of collections.</param>
<param name="item">The item to be added to one of the collections.</param>
<exception cref="T:System.ObjectDisposedException">At least one of the <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> instances has been disposed.</exception>
<exception cref="T:System.ArgumentNullException">The <paramref name="collections" /> argument is null.</exception>
<exception cref="T:System.ArgumentOutOfRangeException">The count of <paramref name="collections" /> is greater than the maximum size of 62 for STA and 63 for MTA.</exception>
<exception cref="T:System.ArgumentException">The <paramref name="collections" /> argument is a 0-length array or contains a null element, or at least one of collections has been marked as complete for adding.</exception>
<exception cref="T:System.InvalidOperationException">At least one underlying collection didn't accept the item.</exception>
</member>
<member name="M:System.Collections.Concurrent.BlockingCollection`1.AddToAny(System.Collections.Concurrent.BlockingCollection{`0}[],`0,System.Threading.CancellationToken)">
<summary>Adds the specified item to any one of the specified <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> instances.</summary>
<returns>The index of the collection in the <paramref name="collections" /> array to which the item was added.</returns>
<param name="collections">The array of collections.</param>
后面还有 1073 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
