packages/System.Collections.Concurrent.4.3.0/ref/netstandard1.1/zh-hant/System.Collections.Concurrent.xml
(开头部分) 121KB这里只显示每个文件的开头 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>提供安全執行緒集合適用的封鎖和界限容量,此集合會實作 <see cref="T:System.Collections.Concurrent.IProducerConsumerCollection`1" />。</summary>
<typeparam name="T">集合中項目的類型。</typeparam>
</member>
<member name="M:System.Collections.Concurrent.BlockingCollection`1.#ctor">
<summary>在無上限情況下,初始化 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 類別的新執行個體。</summary>
</member>
<member name="M:System.Collections.Concurrent.BlockingCollection`1.#ctor(System.Collections.Concurrent.IProducerConsumerCollection{`0})">
<summary>在無上限情況下,使用提供的 <see cref="T:System.Collections.Concurrent.IProducerConsumerCollection`1" /> 做為類別之基礎資料存放區,初始化 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 類別的新執行個體。</summary>
<param name="collection">要做為基礎資料存放區的集合。</param>
<exception cref="T:System.ArgumentNullException">
<paramref name="collection" /> 引數為 null。</exception>
</member>
<member name="M:System.Collections.Concurrent.BlockingCollection`1.#ctor(System.Collections.Concurrent.IProducerConsumerCollection{`0},System.Int32)">
<summary>在指定上限情況下,使用提供的 <see cref="T:System.Collections.Concurrent.IProducerConsumerCollection`1" /> 做為類別之基礎資料存放區,初始化 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 類別的新執行個體。</summary>
<param name="collection">要做為基礎資料存放區的集合。</param>
<param name="boundedCapacity">集合的界限大小。</param>
<exception cref="T:System.ArgumentNullException">
<paramref name="collection" /> 引數為 null。</exception>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="boundedCapacity" /> 不是一個正數的值。</exception>
<exception cref="T:System.ArgumentException">提供的 <paramref name="collection" /> 其所包含值超過 <paramref name="boundedCapacity" /> 所允許的上限。</exception>
</member>
<member name="M:System.Collections.Concurrent.BlockingCollection`1.#ctor(System.Int32)">
<summary>在指定的上限情況下,初始化 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 類別的新執行個體。</summary>
<param name="boundedCapacity">集合的界限大小。</param>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="boundedCapacity" /> 不是一個正數的值。</exception>
</member>
<member name="M:System.Collections.Concurrent.BlockingCollection`1.Add(`0)">
<summary>將項目加入至 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" />。</summary>
<param name="item">加入至集合的項目。這個值可以是 null 參考。</param>
<exception cref="T:System.ObjectDisposedException">
<see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 已經處置。</exception>
<exception cref="T:System.InvalidOperationException">
<see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 已被標記為已完成加入。-或-基礎集合不接受這個項目。</exception>
</member>
<member name="M:System.Collections.Concurrent.BlockingCollection`1.Add(`0,System.Threading.CancellationToken)">
<summary>將項目加入至 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" />。</summary>
<param name="item">加入至集合的項目。這個值可以是 null 參考。</param>
<param name="cancellationToken">要觀察的取消語彙基元。</param>
<exception cref="T:System.OperationCanceledException">如果取消 <see cref="T:System.Threading.CancellationToken" />。</exception>
<exception cref="T:System.ObjectDisposedException">已經處置 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" />屬性,或者已經處置擁有 <paramref name="cancellationToken" /> 的 <see cref="T:System.Threading.CancellationTokenSource" />。</exception>
<exception cref="T:System.InvalidOperationException">
<see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 已被標記為已完成加入。-或-基礎集合不接受這個項目。</exception>
</member>
<member name="M:System.Collections.Concurrent.BlockingCollection`1.AddToAny(System.Collections.Concurrent.BlockingCollection{`0}[],`0)">
<summary>將指定的項目加入至任何一個指定的 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 執行個體。</summary>
<returns>
<paramref name="collections" /> 陣列中集合的索引,即其中加入了項目的索引。</returns>
<param name="collections">集合的陣列。</param>
<param name="item">要加入至其中一個集合的項目。</param>
<exception cref="T:System.ObjectDisposedException">至少其中一個 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 執行個體已經處置。</exception>
<exception cref="T:System.ArgumentNullException">
后面还有 1190 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
