You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

1219 lines
120 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <doc>
  3. <assembly>
  4. <name>System.Collections.Concurrent</name>
  5. </assembly>
  6. <members>
  7. <member name="T:System.Collections.Concurrent.BlockingCollection`1">
  8. <summary>为实现 <see cref="T:System.Collections.Concurrent.IProducerConsumerCollection`1" /> 的线程安全集合提供阻塞和限制功能。</summary>
  9. <typeparam name="T">集合中的元素类型。</typeparam>
  10. </member>
  11. <member name="M:System.Collections.Concurrent.BlockingCollection`1.#ctor">
  12. <summary>初始化 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 类的新实例,该实例没有上限。</summary>
  13. </member>
  14. <member name="M:System.Collections.Concurrent.BlockingCollection`1.#ctor(System.Collections.Concurrent.IProducerConsumerCollection{`0})">
  15. <summary>初始化 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 类的新实例,该实例没有上限,并使用提供的 <see cref="T:System.Collections.Concurrent.IProducerConsumerCollection`1" /> 作为其基础数据存储区。</summary>
  16. <param name="collection">要用作基础数据存储区的集合。</param>
  17. <exception cref="T:System.ArgumentNullException">
  18. <paramref name="collection" /> 参数为 null。</exception>
  19. </member>
  20. <member name="M:System.Collections.Concurrent.BlockingCollection`1.#ctor(System.Collections.Concurrent.IProducerConsumerCollection{`0},System.Int32)">
  21. <summary>初始化 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 类的新实例,该实例具有指定的上限,并使用提供的 <see cref="T:System.Collections.Concurrent.IProducerConsumerCollection`1" /> 作为其基础数据存储区。</summary>
  22. <param name="collection">要用作基础数据存储区的集合。</param>
  23. <param name="boundedCapacity">集合的限制大小。</param>
  24. <exception cref="T:System.ArgumentNullException">
  25. <paramref name="collection" /> 参数为 null。</exception>
  26. <exception cref="T:System.ArgumentOutOfRangeException">
  27. <paramref name="boundedCapacity" /> 不是一个正值。</exception>
  28. <exception cref="T:System.ArgumentException">所提供 <paramref name="collection" /> 包含的值比 <paramref name="boundedCapacity" /> 允许的值多。</exception>
  29. </member>
  30. <member name="M:System.Collections.Concurrent.BlockingCollection`1.#ctor(System.Int32)">
  31. <summary>初始化 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 类的新实例,该实例具有指定的上限。</summary>
  32. <param name="boundedCapacity">集合的限制大小。</param>
  33. <exception cref="T:System.ArgumentOutOfRangeException">
  34. <paramref name="boundedCapacity" /> 不是一个正值。</exception>
  35. </member>
  36. <member name="M:System.Collections.Concurrent.BlockingCollection`1.Add(`0)">
  37. <summary>向 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 中添加项。</summary>
  38. <param name="item">要添加到集合的项。该值可以是 null 引用。</param>
  39. <exception cref="T:System.ObjectDisposedException">已释放了 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" />。</exception>
  40. <exception cref="T:System.InvalidOperationException">
  41. <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 已标记为已完成添加操作。- 或 -基础集合未接受该项。</exception>
  42. </member>
  43. <member name="M:System.Collections.Concurrent.BlockingCollection`1.Add(`0,System.Threading.CancellationToken)">
  44. <summary>向 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 中添加项。</summary>
  45. <param name="item">要添加到集合的项。该值可以是 null 引用。</param>
  46. <param name="cancellationToken">要观察的取消标记。</param>
  47. <exception cref="T:System.OperationCanceledException">如果 <see cref="T:System.Threading.CancellationToken" />已取消。</exception>
  48. <exception cref="T:System.ObjectDisposedException">
  49. <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 已被释放,或拥有 <paramref name="cancellationToken" /> 的 <see cref="T:System.Threading.CancellationTokenSource" /> 已被释放。</exception>
  50. <exception cref="T:System.InvalidOperationException">
  51. <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 已标记为已完成添加操作。- 或 -基础集合未接受该项。</exception>
  52. </member>
  53. <member name="M:System.Collections.Concurrent.BlockingCollection`1.AddToAny(System.Collections.Concurrent.BlockingCollection{`0}[],`0)">
  54. <summary>向任一指定的 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 实例中添加指定的项。</summary>
  55. <returns>将项添加到的集合在 <paramref name="collections" /> 数组中的索引。</returns>
  56. <param name="collections">集合的数组。</param>
  57. <param name="item">要添加到其中一个集合的项。</param>
  58. <exception cref="T:System.ObjectDisposedException">至少其中一个 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 实例已释放。</exception>
  59. <exception cref="T:System.ArgumentNullException">
  60. <paramref name="collections" /> 参数为 null。</exception>
  61. <exception cref="T:System.ArgumentOutOfRangeException">
  62. <paramref name="collections" /> 的计数大于最大的大小(STA 为 62,MTA 为 63)。</exception>
  63. <exception cref="T:System.ArgumentException">
  64. <paramref name="collections" /> 参数是一个 0 长度的数组,或者包含 null 元素,或者至少其中一个集合已标记为已完成添加。</exception>
  65. <exception cref="T:System.InvalidOperationException">至少一个基础集合未接受该项。</exception>
  66. </member>
  67. <member name="M:System.Collections.Concurrent.BlockingCollection`1.AddToAny(System.Collections.Concurrent.BlockingCollection{`0}[],`0,System.Threading.CancellationToken)">
  68. <summary>向任一指定的 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 实例中添加指定的项。</summary>
  69. <returns>将项添加到的集合在 <paramref name="collections" /> 数组中的索引。</returns>
  70. <param name="collections">集合的数组。</param>
  71. <param name="item">要添加到其中一个集合的项。</param>
  72. <param name="cancellationToken">要观察的取消标记。</param>
  73. <exception cref="T:System.OperationCanceledException">如果 <see cref="T:System.Threading.CancellationToken" />已取消。</exception>
  74. <exception cref="T:System.InvalidOperationException">至少一个基础集合未接受该项。</exception>
  75. <exception cref="T:System.ArgumentNullException">
  76. <paramref name="collections" /> 参数为 null。</exception>
  77. <exception cref="T:System.ArgumentOutOfRangeException">
  78. <paramref name="collections" /> 的计数大于最大的大小(STA 为 62,MTA 为 63)。</exception>
  79. <exception cref="T:System.ArgumentException">
  80. <paramref name="collections" /> 参数是一个 0 长度的数组,或者包含 null 元素,或者至少其中一个集合已标记为已完成添加。</exception>
  81. <exception cref="T:System.ObjectDisposedException">至少一个 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 已被释放的实例或创建 <paramref name="cancellationToken" /> 的 <see cref="T:System.Threading.CancellationTokenSource" /> 已被释放。</exception>
  82. </member>
  83. <member name="P:System.Collections.Concurrent.BlockingCollection`1.BoundedCapacity">
  84. <summary>获取此 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 实例的限定容量。</summary>
  85. <returns>此集合的限定容量;如果未提供限制,则为 int.MaxValue。</returns>
  86. <exception cref="T:System.ObjectDisposedException">已释放了 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" />。</exception>
  87. </member>
  88. <member name="M:System.Collections.Concurrent.BlockingCollection`1.CompleteAdding">
  89. <summary>将 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 实例标记为不再接受任何添加。</summary>
  90. <exception cref="T:System.ObjectDisposedException">已释放了 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" />。</exception>
  91. </member>
  92. <member name="M:System.Collections.Concurrent.BlockingCollection`1.CopyTo(`0[],System.Int32)">
  93. <summary>将 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 实例中的所有项复制到兼容的一维数组中,复制从目标数组的指定索引处开始。</summary>
  94. <param name="array">作为从 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 实例复制的元素的目标的一维数组。该数组的索引必须从零开始。</param>
  95. <param name="index">
  96. <paramref name="array" /> 中从零开始的索引,将在此处开始复制。</param>
  97. <exception cref="T:System.ObjectDisposedException">已释放了 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" />。</exception>
  98. <exception cref="T:System.ArgumentNullException">
  99. <paramref name="array" /> 参数为 null。</exception>
  100. <exception cref="T:System.ArgumentOutOfRangeException">
  101. <paramref name="index" /> 参数小于零。</exception>
  102. <exception cref="T:System.ArgumentException">
  103. <paramref name="index" /> 参数等于或大于 <paramref name="array" /> 的长度。目标数组太小,不能容纳所有 BlockingCcollection 元素。数组秩不匹配。数组类型与 BlockingCollection 元素不兼容。</exception>
  104. </member>
  105. <member name="P:System.Collections.Concurrent.BlockingCollection`1.Count">
  106. <summary>获取 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 中包含的项数。</summary>
  107. <returns>
  108. <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 中包含的项数。</returns>
  109. <exception cref="T:System.ObjectDisposedException">已释放了 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" />。</exception>
  110. </member>
  111. <member name="M:System.Collections.Concurrent.BlockingCollection`1.Dispose">
  112. <summary>释放 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 类的当前实例所使用的所有资源。</summary>
  113. </member>
  114. <member name="M:System.Collections.Concurrent.BlockingCollection`1.Dispose(System.Boolean)">
  115. <summary>释放由 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 实例占用的资源。</summary>
  116. <param name="disposing">是显式释放 (true),还是由于终结器释放 (false)。</param>
  117. </member>
  118. <member name="M:System.Collections.Concurrent.BlockingCollection`1.GetConsumingEnumerable">
  119. <summary>为集合中的项提供一个使用 <see cref="T:System.Collections.Generic.IEnumerator`1" />。</summary>
  120. <returns>从集合中移除并返回项的 <see cref="T:System.Collections.Generic.IEnumerable`1" />。</returns>
  121. <exception cref="T:System.ObjectDisposedException">已释放了 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" />。</exception>
  122. </member>
  123. <member name="M:System.Collections.Concurrent.BlockingCollection`1.GetConsumingEnumerable(System.Threading.CancellationToken)">
  124. <summary>为集合中的项提供一个使用 <see cref="T:System.Collections.Generic.IEnumerable`1" />。</summary>
  125. <returns>从集合中移除并返回项的 <see cref="T:System.Collections.Generic.IEnumerable`1" />。</returns>
  126. <param name="cancellationToken">要观察的取消标记。</param>
  127. <exception cref="T:System.OperationCanceledException">如果 <see cref="T:System.Threading.CancellationToken" />已取消。</exception>
  128. <exception cref="T:System.ObjectDisposedException">
  129. <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 已被释放,或创建 <paramref name="cancellationToken" /> 的 <see cref="T:System.Threading.CancellationTokenSource" /> 已被释放</exception>
  130. </member>
  131. <member name="P:System.Collections.Concurrent.BlockingCollection`1.IsAddingCompleted">
  132. <summary>获取此 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 是否已标记为已完成添加。</summary>
  133. <returns>此集合是否已标记为完成添加。</returns>
  134. <exception cref="T:System.ObjectDisposedException">已释放了 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" />。</exception>
  135. </member>
  136. <member name="P:System.Collections.Concurrent.BlockingCollection`1.IsCompleted">
  137. <summary>获取一个值,该值指示此 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 是否已标记为已完成添加并且为空。</summary>
  138. <returns>此集合是否已标记为完成添加并且为空。</returns>
  139. <exception cref="T:System.ObjectDisposedException">已释放了 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" />。</exception>
  140. </member>
  141. <member name="M:System.Collections.Concurrent.BlockingCollection`1.System#Collections#Generic#IEnumerable{T}#GetEnumerator">
  142. <summary>为集合中的项提供一个 <see cref="T:System.Collections.Generic.IEnumerator`1" />。</summary>
  143. <returns>集合中的项的 <see cref="T:System.Collections.Generic.IEnumerator`1" />。</returns>
  144. <exception cref="T:System.ObjectDisposedException">已释放了 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" />。</exception>
  145. </member>
  146. <member name="M:System.Collections.Concurrent.BlockingCollection`1.System#Collections#ICollection#CopyTo(System.Array,System.Int32)">
  147. <summary>将 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 实例中的所有项复制到兼容的一维数组中,复制从目标数组的指定索引处开始。</summary>
  148. <param name="array">作为从 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 实例复制的元素的目标的一维数组。该数组的索引必须从零开始。</param>
  149. <param name="index">
  150. <paramref name="array" /> 中从零开始的索引,将在此处开始复制。</param>
  151. <exception cref="T:System.ObjectDisposedException">已释放了 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" />。</exception>
  152. <exception cref="T:System.ArgumentNullException">
  153. <paramref name="array" /> 参数为 null。</exception>
  154. <exception cref="T:System.ArgumentOutOfRangeException">
  155. <paramref name="index" /> 参数小于零。</exception>
  156. <exception cref="T:System.ArgumentException">
  157. <paramref name="index" /> 参数等于或大于 <paramref name="array" /> 的长度,该数组是多维的,或集合的类型参数无法自动强制转换为目标数组的类型。</exception>
  158. </member>
  159. <member name="P:System.Collections.Concurrent.BlockingCollection`1.System#Collections#ICollection#IsSynchronized">
  160. <summary>获取一个值,通过该值指示对 <see cref="T:System.Collections.ICollection" /> 的访问是否同步。</summary>
  161. <returns>始终返回 false。</returns>
  162. <exception cref="T:System.ObjectDisposedException">已释放了 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" />。</exception>
  163. </member>
  164. <member name="P:System.Collections.Concurrent.BlockingCollection`1.System#Collections#ICollection#SyncRoot">
  165. <summary>获取一个可用于同步对 <see cref="T:System.Collections.ICollection" /> 的访问的对象。不支持此属性。</summary>
  166. <returns>返回 null。</returns>
  167. <exception cref="T:System.NotSupportedException">不支持 SyncRoot 属性。</exception>
  168. </member>
  169. <member name="M:System.Collections.Concurrent.BlockingCollection`1.System#Collections#IEnumerable#GetEnumerator">
  170. <summary>为集合中的项提供一个 <see cref="T:System.Collections.IEnumerator" />。</summary>
  171. <returns>集合中的项的 <see cref="T:System.Collections.IEnumerator" />。</returns>
  172. <exception cref="T:System.ObjectDisposedException">已释放了 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" />。</exception>
  173. </member>
  174. <member name="M:System.Collections.Concurrent.BlockingCollection`1.Take">
  175. <summary>从 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 中移除一个项。</summary>
  176. <returns>从集合中移除的项。</returns>
  177. <exception cref="T:System.ObjectDisposedException">已释放了 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" />。</exception>
  178. <exception cref="T:System.InvalidOperationException">基础集合在此 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 实例外修改,或 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 为空,并且集合已经标记为可完整地用于添加。</exception>
  179. </member>
  180. <member name="M:System.Collections.Concurrent.BlockingCollection`1.Take(System.Threading.CancellationToken)">
  181. <summary>从 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 中移除一个项。</summary>
  182. <returns>从集合中移除的项。</returns>
  183. <param name="cancellationToken">可用于取消获取操作的对象。</param>
  184. <exception cref="T:System.OperationCanceledException">
  185. <see cref="T:System.Threading.CancellationToken" /> 已取消。</exception>
  186. <exception cref="T:System.ObjectDisposedException">
  187. <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 已被释放,或创建该标记的 <see cref="T:System.Threading.CancellationTokenSource" /> 被取消。</exception>
  188. <exception cref="T:System.InvalidOperationException">基础集合在此 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 实例外修改,或该 BlockingCollection 被标记为已完成添加,或 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 为空。</exception>
  189. </member>
  190. <member name="M:System.Collections.Concurrent.BlockingCollection`1.TakeFromAny(System.Collections.Concurrent.BlockingCollection{`0}[],`0@)">
  191. <summary>从任一指定的 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 实例中获取一项。</summary>
  192. <returns>从中移除项的集合在 <paramref name="collections" /> 数组中的索引。</returns>
  193. <param name="collections">集合的数组。</param>
  194. <param name="item">从其中一个集合中移除的项。</param>
  195. <exception cref="T:System.ObjectDisposedException">至少其中一个 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 实例已释放。</exception>
  196. <exception cref="T:System.ArgumentNullException">
  197. <paramref name="collections" /> 参数为 null。</exception>
  198. <exception cref="T:System.ArgumentOutOfRangeException">
  199. <paramref name="collections" /> 的计数大于最大的大小(STA 为 62,MTA 为 63)。</exception>
  200. <exception cref="T:System.ArgumentException">
  201. <paramref name="collections" /> 参数是一个 0 长度的数组,或包含 null 元素,或 <see cref="M:System.Collections.Concurrent.BlockingCollection`1.CompleteAdding" /> 在集合上已被调用。</exception>
  202. <exception cref="T:System.InvalidOperationException">至少一个基础集合已在其 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 实例之外进行了修改。</exception>
  203. </member>
  204. <member name="M:System.Collections.Concurrent.BlockingCollection`1.TakeFromAny(System.Collections.Concurrent.BlockingCollection{`0}[],`0@,System.Threading.CancellationToken)">
  205. <summary>观察指定的取消标记时从任一指定的 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 实例中获取一项。</summary>
  206. <returns>从中移除项的集合在 <paramref name="collections" /> 数组中的索引。</returns>
  207. <param name="collections">集合的数组。</param>
  208. <param name="item">从其中一个集合中移除的项。</param>
  209. <param name="cancellationToken">要观察的取消标记。</param>
  210. <exception cref="T:System.OperationCanceledException">如果 <see cref="T:System.Threading.CancellationToken" />已取消。</exception>
  211. <exception cref="T:System.InvalidOperationException">至少一个基础集合已在其 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 实例之外进行了修改。</exception>
  212. <exception cref="T:System.ArgumentNullException">
  213. <paramref name="collections" /> 参数为 null。</exception>
  214. <exception cref="T:System.ArgumentOutOfRangeException">
  215. <paramref name="collections" /> 的计数大于最大的大小(STA 为 62,MTA 为 63)。</exception>
  216. <exception cref="T:System.ArgumentException">
  217. <paramref name="collections" /> 参数是一个 0 长度的数组,或包含 null 元素,或 <see cref="M:System.Collections.Concurrent.BlockingCollection`1.CompleteAdding" /> 在集合上已被调用。</exception>
  218. <exception cref="T:System.ObjectDisposedException">至少其中一个 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 实例已释放。</exception>
  219. </member>
  220. <member name="M:System.Collections.Concurrent.BlockingCollection`1.ToArray">
  221. <summary>将项从 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 实例复制到新数组中。</summary>
  222. <returns>包含集合元素副本的数组。</returns>
  223. <exception cref="T:System.ObjectDisposedException">已释放了 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" />。</exception>
  224. </member>
  225. <member name="M:System.Collections.Concurrent.BlockingCollection`1.TryAdd(`0)">
  226. <summary>尝试将指定的项添加到 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" />。</summary>
  227. <returns>true(如果可以添加 <paramref name="item" />);否则为 false。如果该项是重复的,并且基础集合不会接受重复项,则会引发 <see cref="T:System.InvalidOperationException" />。</returns>
  228. <param name="item">要添加到集合的项。</param>
  229. <exception cref="T:System.ObjectDisposedException">已释放了 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" />。</exception>
  230. <exception cref="T:System.InvalidOperationException">
  231. <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 已标记为已完成添加操作。- 或 -基础集合未接受该项。</exception>
  232. </member>
  233. <member name="M:System.Collections.Concurrent.BlockingCollection`1.TryAdd(`0,System.Int32)">
  234. <summary>尝试在指定的时间段内将指定的项添加到 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" />。</summary>
  235. <returns>如果在指定的时间内可以将 <paramref name="item" /> 添加到集合中,则为 true;否则为 false。如果该项是重复的,并且基础集合不会接受重复项,则会引发 <see cref="T:System.InvalidOperationException" />。</returns>
  236. <param name="item">要添加到集合的项。</param>
  237. <param name="millisecondsTimeout">等待的毫秒数,或为 <see cref="F:System.Threading.Timeout.Infinite" /> (-1),表示无限期等待。</param>
  238. <exception cref="T:System.ObjectDisposedException">已释放了 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" />。</exception>
  239. <exception cref="T:System.ArgumentOutOfRangeException">
  240. <paramref name="millisecondsTimeout" /> 是一个非 -1 的负数,而 -1 表示无限期超时。</exception>
  241. <exception cref="T:System.InvalidOperationException">
  242. <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 已标记为已完成添加操作。- 或 -基础集合未接受该项。</exception>
  243. </member>
  244. <member name="M:System.Collections.Concurrent.BlockingCollection`1.TryAdd(`0,System.Int32,System.Threading.CancellationToken)">
  245. <summary>在观察取消标记时,尝试在指定的时间段内将指定的项添加到 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" />。</summary>
  246. <returns>如果在指定的时间内可以将 <paramref name="item" /> 添加到集合中,则为 true;否则为 false。如果该项是重复的,并且基础集合不会接受重复项,则会引发 <see cref="T:System.InvalidOperationException" />。</returns>
  247. <param name="item">要添加到集合的项。</param>
  248. <param name="millisecondsTimeout">等待的毫秒数,或为 <see cref="F:System.Threading.Timeout.Infinite" /> (-1),表示无限期等待。</param>
  249. <param name="cancellationToken">要观察的取消标记。</param>
  250. <exception cref="T:System.OperationCanceledException">如果 <see cref="T:System.Threading.CancellationToken" />已取消。</exception>
  251. <exception cref="T:System.ObjectDisposedException">
  252. <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 已被释放,或基础 <see cref="T:System.Threading.CancellationTokenSource" /> 已被释放。</exception>
  253. <exception cref="T:System.ArgumentOutOfRangeException">
  254. <paramref name="millisecondsTimeout" /> 是一个非 -1 的负数,而 -1 表示无限期超时。</exception>
  255. <exception cref="T:System.InvalidOperationException">
  256. <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 已标记为已完成添加操作。- 或 -基础集合未接受该项。</exception>
  257. </member>
  258. <member name="M:System.Collections.Concurrent.BlockingCollection`1.TryAdd(`0,System.TimeSpan)">
  259. <summary>尝试将指定的项添加到 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" />。</summary>
  260. <returns>如果在指定的时间跨度内可以将 <paramref name="item" /> 添加到集合中,则为 true;否则为 false。</returns>
  261. <param name="item">要添加到集合的项。</param>
  262. <param name="timeout">表示等待的毫秒数的 <see cref="T:System.TimeSpan" />,或表示 -1 毫秒(无限期等待)的 <see cref="T:System.TimeSpan" />。</param>
  263. <exception cref="T:System.ObjectDisposedException">已释放了 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" />。</exception>
  264. <exception cref="T:System.ArgumentOutOfRangeException">
  265. <paramref name="timeout" /> 是 -1 毫秒之外的负数,表示无限超时或者超时大于 <see cref="F:System.Int32.MaxValue" />。</exception>
  266. <exception cref="T:System.InvalidOperationException">
  267. <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 已标记为已完成添加操作。- 或 -基础集合未接受该项。</exception>
  268. </member>
  269. <member name="M:System.Collections.Concurrent.BlockingCollection`1.TryAddToAny(System.Collections.Concurrent.BlockingCollection{`0}[],`0)">
  270. <summary>尝试将指定的项添加到任一指定的 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 实例。</summary>
  271. <returns>将项添加到的集合在 <paramref name="collections" /> 数组中的索引;如果未能添加项,则为 -1。</returns>
  272. <param name="collections">集合的数组。</param>
  273. <param name="item">要添加到其中一个集合的项。</param>
  274. <exception cref="T:System.ObjectDisposedException">至少其中一个 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 实例已释放。</exception>
  275. <exception cref="T:System.ArgumentNullException">
  276. <paramref name="collections" /> 参数为 null。</exception>
  277. <exception cref="T:System.ArgumentOutOfRangeException">
  278. <paramref name="collections" /> 的计数大于最大的大小(STA 为 62,MTA 为 63)。</exception>
  279. <exception cref="T:System.ArgumentException">
  280. <paramref name="collections" /> 参数是一个 0 长度的数组,或者包含 null 元素,或者至少其中一个集合已标记为已完成添加。</exception>
  281. <exception cref="T:System.InvalidOperationException">至少一个基础集合未接受该项。</exception>
  282. </member>
  283. <member name="M:System.Collections.Concurrent.BlockingCollection`1.TryAddToAny(System.Collections.Concurrent.BlockingCollection{`0}[],`0,System.Int32)">
  284. <summary>尝试将指定的项添加到任一指定的 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 实例。</summary>
  285. <returns>将项添加到的集合在 <paramref name="collections" /> 数组中的索引;如果未能添加项,则为 -1。</returns>
  286. <param name="collections">集合的数组。</param>
  287. <param name="item">要添加到其中一个集合的项。</param>
  288. <param name="millisecondsTimeout">等待的毫秒数,或为 <see cref="F:System.Threading.Timeout.Infinite" /> (-1),表示无限期等待。</param>
  289. <exception cref="T:System.ObjectDisposedException">至少其中一个 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 实例已释放。</exception>
  290. <exception cref="T:System.ArgumentNullException">
  291. <paramref name="collections" /> 参数为 null。</exception>
  292. <exception cref="T:System.ArgumentOutOfRangeException">
  293. <paramref name="millisecondsTimeout" /> 是一个非 -1 的负数,而 -1 表示无限期超时。- 或 -<paramref name="collections" /> 的计数大于最大的大小(STA 为 62,MTA 为 63)。</exception>
  294. <exception cref="T:System.ArgumentException">
  295. <paramref name="collections" /> 参数是一个 0 长度的数组,或者包含 null 元素,或者至少其中一个集合已标记为已完成添加。</exception>
  296. <exception cref="T:System.InvalidOperationException">至少一个基础集合未接受该项。</exception>
  297. </member>
  298. <member name="M:System.Collections.Concurrent.BlockingCollection`1.TryAddToAny(System.Collections.Concurrent.BlockingCollection{`0}[],`0,System.Int32,System.Threading.CancellationToken)">
  299. <summary>尝试将指定的项添加到任一指定的 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 实例。</summary>
  300. <returns>将项添加到的集合在 <paramref name="collections" /> 数组中的索引;如果未能添加项,则为 -1。</returns>
  301. <param name="collections">集合的数组。</param>
  302. <param name="item">要添加到其中一个集合的项。</param>
  303. <param name="millisecondsTimeout">等待的毫秒数,或为 <see cref="F:System.Threading.Timeout.Infinite" /> (-1),表示无限期等待。</param>
  304. <param name="cancellationToken">要观察的取消标记。</param>
  305. <exception cref="T:System.OperationCanceledException">如果 <see cref="T:System.Threading.CancellationToken" />已取消。</exception>
  306. <exception cref="T:System.InvalidOperationException">至少一个基础集合未接受该项。</exception>
  307. <exception cref="T:System.ArgumentNullException">
  308. <paramref name="collections" /> 参数为 null。</exception>
  309. <exception cref="T:System.ArgumentOutOfRangeException">
  310. <paramref name="millisecondsTimeout" /> 是一个非 -1 的负数,而 -1 表示无限期超时。- 或 -<paramref name="collections" /> 的计数大于最大的大小(STA 为 62,MTA 为 63)。</exception>
  311. <exception cref="T:System.ArgumentException">
  312. <paramref name="collections" /> 参数是一个 0 长度的数组,或者包含 null 元素,或者至少其中一个集合已标记为已完成添加。</exception>
  313. <exception cref="T:System.ObjectDisposedException">至少其中一个 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 实例已释放。</exception>
  314. </member>
  315. <member name="M:System.Collections.Concurrent.BlockingCollection`1.TryAddToAny(System.Collections.Concurrent.BlockingCollection{`0}[],`0,System.TimeSpan)">
  316. <summary>在观察指定的取消标记时,尝试将指定的项添加到任一指定的 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 实例。</summary>
  317. <returns>将项添加到的集合在 <paramref name="collections" /> 数组中的索引;如果未能添加项,则为 -1。</returns>
  318. <param name="collections">集合的数组。</param>
  319. <param name="item">要添加到其中一个集合的项。</param>
  320. <param name="timeout">表示等待的毫秒数的 <see cref="T:System.TimeSpan" />,或表示 -1 毫秒(无限期等待)的 <see cref="T:System.TimeSpan" />。</param>
  321. <exception cref="T:System.ObjectDisposedException">至少一个 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 实例或创建 <paramref name="cancellationToken" /> 的 <see cref="T:System.Threading.CancellationTokenSource" /> 已被释放。</exception>
  322. <exception cref="T:System.ArgumentNullException">
  323. <paramref name="collections" /> 参数为 null。</exception>
  324. <exception cref="T:System.ArgumentOutOfRangeException">
  325. <paramref name="timeout" /> 是 -1 毫秒之外的负数,表示无限超时或者超时大于 <see cref="F:System.Int32.MaxValue" />。- 或 -<paramref name="collections" /> 的计数大于最大的大小(STA 为 62,MTA 为 63)。</exception>
  326. <exception cref="T:System.ArgumentException">
  327. <paramref name="collections" /> 参数是一个 0 长度的数组,或者包含 null 元素,或者至少其中一个集合已标记为已完成添加。</exception>
  328. <exception cref="T:System.InvalidOperationException">至少一个基础集合未接受该项。</exception>
  329. </member>
  330. <member name="M:System.Collections.Concurrent.BlockingCollection`1.TryTake(`0@)">
  331. <summary>尝试从 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 中移除某个项。</summary>
  332. <returns>如果可以移除项,则为 true;否则为 false。</returns>
  333. <param name="item">要从集合中移除的项。</param>
  334. <exception cref="T:System.ObjectDisposedException">已释放了 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" />。</exception>
  335. <exception cref="T:System.InvalidOperationException">基础集合已在此 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 实例外部进行了修改。</exception>
  336. </member>
  337. <member name="M:System.Collections.Concurrent.BlockingCollection`1.TryTake(`0@,System.Int32)">
  338. <summary>尝试在指定的时间段内从 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 中移除某个项。</summary>
  339. <returns>如果在指定的时间内可以从集合中移除某个项,则为 true;否则为 false。</returns>
  340. <param name="item">要从集合中移除的项。</param>
  341. <param name="millisecondsTimeout">等待的毫秒数,或为 <see cref="F:System.Threading.Timeout.Infinite" /> (-1),表示无限期等待。</param>
  342. <exception cref="T:System.ObjectDisposedException">已释放了 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" />。</exception>
  343. <exception cref="T:System.ArgumentOutOfRangeException">
  344. <paramref name="millisecondsTimeout" /> 是一个非 -1 的负数,而 -1 表示无限期超时。</exception>
  345. <exception cref="T:System.InvalidOperationException">基础集合已在此 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 实例外部进行了修改。</exception>
  346. </member>
  347. <member name="M:System.Collections.Concurrent.BlockingCollection`1.TryTake(`0@,System.Int32,System.Threading.CancellationToken)">
  348. <summary>在观察取消标记时,尝试在指定的时间段内从 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 中移除某个项。</summary>
  349. <returns>如果在指定的时间内可以从集合中移除某个项,则为 true;否则为 false。</returns>
  350. <param name="item">要从集合中移除的项。</param>
  351. <param name="millisecondsTimeout">等待的毫秒数,或为 <see cref="F:System.Threading.Timeout.Infinite" /> (-1),表示无限期等待。</param>
  352. <param name="cancellationToken">要观察的取消标记。</param>
  353. <exception cref="T:System.OperationCanceledException">
  354. <see cref="T:System.Threading.CancellationToken" /> 已取消。</exception>
  355. <exception cref="T:System.ObjectDisposedException">
  356. <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 已被释放,或基础 <see cref="T:System.Threading.CancellationTokenSource" /> 已被释放。</exception>
  357. <exception cref="T:System.ArgumentOutOfRangeException">
  358. <paramref name="millisecondsTimeout" /> 是一个非 -1 的负数,而 -1 表示无限期超时。</exception>
  359. <exception cref="T:System.InvalidOperationException">基础集合已在此 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 实例外部进行了修改。</exception>
  360. </member>
  361. <member name="M:System.Collections.Concurrent.BlockingCollection`1.TryTake(`0@,System.TimeSpan)">
  362. <summary>尝试在指定的时间段内从 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 中移除某个项。</summary>
  363. <returns>如果在指定的时间内可以从集合中移除某个项,则为 true;否则为 false。</returns>
  364. <param name="item">要从集合中移除的项。</param>
  365. <param name="timeout">表示等待的毫秒数的对象,或表示 -1 毫秒(无限期等待)的对象。 </param>
  366. <exception cref="T:System.ObjectDisposedException">已释放了 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" />。</exception>
  367. <exception cref="T:System.ArgumentOutOfRangeException">
  368. <paramref name="timeout" /> 是一个非 -1 毫秒的负数,而 -1 表示无限期超时。- 或 - <paramref name="timeout" /> 大于 <see cref="F:System.Int32.MaxValue" />。</exception>
  369. <exception cref="T:System.InvalidOperationException">基础集合已在此 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 实例外部进行了修改。</exception>
  370. </member>
  371. <member name="M:System.Collections.Concurrent.BlockingCollection`1.TryTakeFromAny(System.Collections.Concurrent.BlockingCollection{`0}[],`0@)">
  372. <summary>尝试从任一指定的 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 实例中移除某个项。</summary>
  373. <returns>从中移除相应项的集合在 <paramref name="collections" /> 数组中的索引;如果未能移除某个项,则为 -1。</returns>
  374. <param name="collections">集合的数组。</param>
  375. <param name="item">从其中一个集合中移除的项。</param>
  376. <exception cref="T:System.ObjectDisposedException">至少其中一个 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 实例已释放。</exception>
  377. <exception cref="T:System.ArgumentNullException">
  378. <paramref name="collections" /> 参数为 null。</exception>
  379. <exception cref="T:System.ArgumentOutOfRangeException">
  380. <paramref name="collections" /> 的计数大于最大的大小(STA 为 62,MTA 为 63)。</exception>
  381. <exception cref="T:System.ArgumentException">
  382. <paramref name="collections" /> 参数是一个 0 长度的数组,或包含 null 元素。</exception>
  383. <exception cref="T:System.InvalidOperationException">至少一个基础集合已在其 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 实例之外进行了修改。</exception>
  384. </member>
  385. <member name="M:System.Collections.Concurrent.BlockingCollection`1.TryTakeFromAny(System.Collections.Concurrent.BlockingCollection{`0}[],`0@,System.Int32)">
  386. <summary>尝试从任一指定的 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 实例中移除某个项。</summary>
  387. <returns>从中移除相应项的集合在 <paramref name="collections" /> 数组中的索引;如果未能移除某个项,则为 -1。</returns>
  388. <param name="collections">集合的数组。</param>
  389. <param name="item">从其中一个集合中移除的项。</param>
  390. <param name="millisecondsTimeout">等待的毫秒数,或为 <see cref="F:System.Threading.Timeout.Infinite" /> (-1),表示无限期等待。</param>
  391. <exception cref="T:System.ObjectDisposedException">至少其中一个 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 实例已释放。</exception>
  392. <exception cref="T:System.ArgumentNullException">
  393. <paramref name="collections" /> 参数为 null。</exception>
  394. <exception cref="T:System.ArgumentOutOfRangeException">
  395. <paramref name="millisecondsTimeout" /> 是一个非 -1 的负数,而 -1 表示无限期超时。- 或 -<paramref name="collections" /> 的计数大于最大的大小(STA 为 62,MTA 为 63)。</exception>
  396. <exception cref="T:System.ArgumentException">
  397. <paramref name="collections" /> 参数是一个 0 长度的数组,或包含 null 元素。</exception>
  398. <exception cref="T:System.InvalidOperationException">至少一个基础集合已在其 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 实例之外进行了修改。</exception>
  399. </member>
  400. <member name="M:System.Collections.Concurrent.BlockingCollection`1.TryTakeFromAny(System.Collections.Concurrent.BlockingCollection{`0}[],`0@,System.Int32,System.Threading.CancellationToken)">
  401. <summary>尝试从任一指定的 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 实例中移除某个项。</summary>
  402. <returns>从中移除相应项的集合在 <paramref name="collections" /> 数组中的索引;如果未能移除某个项,则为 -1。</returns>
  403. <param name="collections">集合的数组。</param>
  404. <param name="item">从其中一个集合中移除的项。</param>
  405. <param name="millisecondsTimeout">等待的毫秒数,或为 <see cref="F:System.Threading.Timeout.Infinite" /> (-1),表示无限期等待。</param>
  406. <param name="cancellationToken">要观察的取消标记。</param>
  407. <exception cref="T:System.OperationCanceledException">如果 <see cref="T:System.Threading.CancellationToken" />已取消。</exception>
  408. <exception cref="T:System.InvalidOperationException">至少一个基础集合已在其 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 实例之外进行了修改。</exception>
  409. <exception cref="T:System.ArgumentNullException">
  410. <paramref name="collections" /> 参数为 null。</exception>
  411. <exception cref="T:System.ArgumentOutOfRangeException">
  412. <paramref name="millisecondsTimeout" /> 是一个非 -1 的负数,而 -1 表示无限期超时。- 或 -<paramref name="collections" /> 的计数大于最大的大小(STA 为 62,MTA 为 63)。</exception>
  413. <exception cref="T:System.ArgumentException">
  414. <paramref name="collections" /> 参数是一个 0 长度的数组,或包含 null 元素。</exception>
  415. <exception cref="T:System.ObjectDisposedException">至少其中一个 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 实例已释放。</exception>
  416. </member>
  417. <member name="M:System.Collections.Concurrent.BlockingCollection`1.TryTakeFromAny(System.Collections.Concurrent.BlockingCollection{`0}[],`0@,System.TimeSpan)">
  418. <summary>尝试从任一指定的 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 实例中移除某个项。</summary>
  419. <returns>从中移除相应项的集合在 <paramref name="collections" /> 数组中的索引;如果未能移除某个项,则为 -1。</returns>
  420. <param name="collections">集合的数组。</param>
  421. <param name="item">从其中一个集合中移除的项。</param>
  422. <param name="timeout">表示等待的毫秒数的 <see cref="T:System.TimeSpan" />,或表示 -1 毫秒(无限期等待)的 <see cref="T:System.TimeSpan" />。</param>
  423. <exception cref="T:System.ObjectDisposedException">至少其中一个 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 实例已释放。</exception>
  424. <exception cref="T:System.ArgumentNullException">
  425. <paramref name="collections" /> 参数为 null。</exception>
  426. <exception cref="T:System.ArgumentOutOfRangeException">
  427. <paramref name="timeout" /> 是 -1 毫秒之外的负数,表示无限超时或者超时大于 <see cref="F:System.Int32.MaxValue" />。- 或 -<paramref name="collections" /> 的计数大于最大的大小(STA 为 62,MTA 为 63)。</exception>
  428. <exception cref="T:System.ArgumentException">
  429. <paramref name="collections" /> 参数是一个 0 长度的数组,或包含 null 元素。</exception>
  430. <exception cref="T:System.InvalidOperationException">至少一个基础集合已在其 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 实例之外进行了修改。</exception>
  431. </member>
  432. <member name="T:System.Collections.Concurrent.ConcurrentBag`1">
  433. <summary>表示对象的线程安全的无序集合。</summary>
  434. <typeparam name="T">要存储在集合中的元素的类型。</typeparam>
  435. </member>
  436. <member name="M:System.Collections.Concurrent.ConcurrentBag`1.#ctor">
  437. <summary>初始化 <see cref="T:System.Collections.Concurrent.ConcurrentBag`1" /> 类的新实例。</summary>
  438. </member>
  439. <member name="M:System.Collections.Concurrent.ConcurrentBag`1.#ctor(System.Collections.Generic.IEnumerable{`0})">
  440. <summary>初始化 <see cref="T:System.Collections.Concurrent.ConcurrentBag`1" /> 类的新实例,该类包含从指定集合中复制的元素。</summary>
  441. <param name="collection">其元素被复制到新的 <see cref="T:System.Collections.Concurrent.ConcurrentBag`1" /> 中的集合。</param>
  442. <exception cref="T:System.ArgumentNullException">
  443. <paramref name="collection" /> 为 null 引用(在 Visual Basic 中为 Nothing)。</exception>
  444. </member>
  445. <member name="M:System.Collections.Concurrent.ConcurrentBag`1.Add(`0)">
  446. <summary>将对象添加到 <see cref="T:System.Collections.Concurrent.ConcurrentBag`1" /> 中。</summary>
  447. <param name="item">要添加到 <see cref="T:System.Collections.Concurrent.ConcurrentBag`1" /> 的对象。该值对于引用类型可以是空引用(在 Visual Basic 中为 Nothing)。</param>
  448. </member>
  449. <member name="M:System.Collections.Concurrent.ConcurrentBag`1.CopyTo(`0[],System.Int32)">
  450. <summary>从指定数组索引开始将 <see cref="T:System.Collections.Concurrent.ConcurrentBag`1" /> 元素复制到现有一维 <see cref="T:System.Array" /> 中。</summary>
  451. <param name="array">一维 <see cref="T:System.Array" />,它是从 <see cref="T:System.Collections.Concurrent.ConcurrentBag`1" /> 所复制的元素的目标位置。<see cref="T:System.Array" /> 必须具有从零开始的索引。</param>
  452. <param name="index">
  453. <paramref name="array" /> 中从零开始的索引,将在此处开始复制。</param>
  454. <exception cref="T:System.ArgumentNullException">
  455. <paramref name="array" /> 为 null 引用(在 Visual Basic 中为 Nothing)。</exception>
  456. <exception cref="T:System.ArgumentOutOfRangeException">
  457. <paramref name="index" /> 小于零。</exception>
  458. <exception cref="T:System.ArgumentException">
  459. <paramref name="index" /> 等于或大于 <paramref name="array" /> 的长度 - 或 - 源 <see cref="T:System.Collections.Concurrent.ConcurrentBag`1" /> 中的元素数大于从 <paramref name="index" /> 到目标 <paramref name="array" /> 结尾的可用空间。</exception>
  460. </member>
  461. <member name="P:System.Collections.Concurrent.ConcurrentBag`1.Count">
  462. <summary>获取 <see cref="T:System.Collections.Concurrent.ConcurrentBag`1" /> 中包含的元素数。</summary>
  463. <returns>
  464. <see cref="T:System.Collections.Concurrent.ConcurrentBag`1" /> 中包含的元素数。</returns>
  465. </member>
  466. <member name="M:System.Collections.Concurrent.ConcurrentBag`1.GetEnumerator">
  467. <summary>返回一个循环访问 <see cref="T:System.Collections.Concurrent.ConcurrentBag`1" /> 的枚举数。</summary>
  468. <returns>可枚举 <see cref="T:System.Collections.Concurrent.ConcurrentBag`1" /> 的内容的枚举器。</returns>
  469. </member>
  470. <member name="P:System.Collections.Concurrent.ConcurrentBag`1.IsEmpty">
  471. <summary>获取一个指示 <see cref="T:System.Collections.Concurrent.ConcurrentBag`1" /> 是否为空的值。</summary>
  472. <returns>如果 <see cref="T:System.Collections.Concurrent.ConcurrentBag`1" /> 为空,则为 true;否则为 false。</returns>
  473. </member>
  474. <member name="M:System.Collections.Concurrent.ConcurrentBag`1.System#Collections#Concurrent#IProducerConsumerCollection{T}#TryAdd(`0)">
  475. <summary>尝试将一个对象添加到 <see cref="T:System.Collections.Concurrent.ConcurrentBag`1" /> 中。</summary>
  476. <returns>始终返回 true</returns>
  477. <param name="item">要添加到 <see cref="T:System.Collections.Concurrent.ConcurrentBag`1" /> 的对象。该值对于引用类型可以是空引用(在 Visual Basic 中为 Nothing)。</param>
  478. </member>
  479. <member name="M:System.Collections.Concurrent.ConcurrentBag`1.System#Collections#ICollection#CopyTo(System.Array,System.Int32)">
  480. <summary>从特定的 <see cref="T:System.Array" /> 索引开始,将 <see cref="T:System.Collections.ICollection" /> 的元素复制到一个 <see cref="T:System.Array" /> 中。</summary>
  481. <param name="array">一维 <see cref="T:System.Array" />,它是从 <see cref="T:System.Collections.Concurrent.ConcurrentBag`1" /> 所复制的元素的目标位置。<see cref="T:System.Array" /> 必须具有从零开始的索引。</param>
  482. <param name="index">
  483. <paramref name="array" /> 中从零开始的索引,将在此处开始复制。</param>
  484. <exception cref="T:System.ArgumentNullException">
  485. <paramref name="array" /> 为 null 引用(在 Visual Basic 中为 Nothing)。</exception>
  486. <exception cref="T:System.ArgumentOutOfRangeException">
  487. <paramref name="index" /> 小于零。</exception>
  488. <exception cref="T:System.ArgumentException">
  489. <paramref name="array" /> 是多维的。- 或 -<paramref name="array" /> 没有从零开始的索引。- 或 - <paramref name="index" /> 等于或大于 <paramref name="array" /> 的长度 - 或 - 源 <see cref="T:System.Collections.ICollection" /> 中的元素数大于从 <paramref name="index" /> 到目标 <paramref name="array" /> 结尾的可用空间。- 或 - 源 <see cref="T:System.Collections.ICollection" /> 的类型无法自动转换为目标 <paramref name="array" /> 的类型。</exception>
  490. </member>
  491. <member name="P:System.Collections.Concurrent.ConcurrentBag`1.System#Collections#ICollection#IsSynchronized">
  492. <summary>获取一个值,该值指示对 <see cref="T:System.Collections.ICollection" /> 的访问是否与 SyncRoot 保持同步。</summary>
  493. <returns>如果对 <see cref="T:System.Collections.ICollection" /> 的访问与 SyncRoot 保持同步,则为 true;否则为 false。对于 <see cref="T:System.Collections.Concurrent.ConcurrentBag`1" />,此属性始终返回 false。</returns>
  494. </member>
  495. <member name="P:System.Collections.Concurrent.ConcurrentBag`1.System#Collections#ICollection#SyncRoot">
  496. <summary>获取一个可用于同步对 <see cref="T:System.Collections.ICollection" /> 的访问的对象。不支持此属性。</summary>
  497. <returns>返回 null(在 Visual Basic 中为 Nothing)。</returns>
  498. <exception cref="T:System.NotSupportedException">不支持 SyncRoot 属性。</exception>
  499. </member>
  500. <member name="M:System.Collections.Concurrent.ConcurrentBag`1.System#Collections#IEnumerable#GetEnumerator">
  501. <summary>返回一个循环访问 <see cref="T:System.Collections.Concurrent.ConcurrentBag`1" /> 的枚举数。</summary>
  502. <returns>可枚举 <see cref="T:System.Collections.Concurrent.ConcurrentBag`1" /> 的内容的枚举器。</returns>
  503. </member>
  504. <member name="M:System.Collections.Concurrent.ConcurrentBag`1.ToArray">
  505. <summary>将 <see cref="T:System.Collections.Concurrent.ConcurrentBag`1" /> 元素复制到新数组。</summary>
  506. <returns>一个新数组,其中包含从 <see cref="T:System.Collections.Concurrent.ConcurrentBag`1" /> 复制的元素的快照。</returns>
  507. </member>
  508. <member name="M:System.Collections.Concurrent.ConcurrentBag`1.TryPeek(`0@)">
  509. <summary>尝试从 <see cref="T:System.Collections.Concurrent.ConcurrentBag`1" /> 返回一个对象但不移除该对象。</summary>
  510. <returns>如果成功返回了对象,则为 true;否则为 false。</returns>
  511. <param name="result">此方法返回时,<paramref name="result" /> 包含 <see cref="T:System.Collections.Concurrent.ConcurrentBag`1" /> 中的对象;如果操作失败,则返回 <paramref name="T" /> 的默认值。</param>
  512. </member>
  513. <member name="M:System.Collections.Concurrent.ConcurrentBag`1.TryTake(`0@)">
  514. <summary>尝试从 <see cref="T:System.Collections.Concurrent.ConcurrentBag`1" /> 中移除并返回一个对象。</summary>
  515. <returns>如果成功移除了对象,则为 true;否则为 false。</returns>
  516. <param name="result">此方法返回时,<paramref name="result" /> 包含从 <see cref="T:System.Collections.Concurrent.ConcurrentBag`1" /> 中移除的对象;如果包为空,则返回 <paramref name="T" /> 的默认值。</param>
  517. </member>
  518. <member name="T:System.Collections.Concurrent.ConcurrentDictionary`2">
  519. <summary>表示可由多个线程同时访问的键/值对的线程安全集合。</summary>
  520. <typeparam name="TKey">字典中的键的类型。</typeparam>
  521. <typeparam name="TValue">字典中的值的类型。</typeparam>
  522. </member>
  523. <member name="M:System.Collections.Concurrent.ConcurrentDictionary`2.#ctor">
  524. <summary>初始化 <see cref="T:System.Collections.Concurrent.ConcurrentDictionary`2" /> 类的新实例,该实例为空,具有默认的并发级别和默认的初始容量,并为键类型使用默认比较器。</summary>
  525. </member>
  526. <member name="M:System.Collections.Concurrent.ConcurrentDictionary`2.#ctor(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{`0,`1}})">
  527. <summary>初始化 <see cref="T:System.Collections.Concurrent.ConcurrentDictionary`2" /> 类的新实例,该实例包含从指定的 <see cref="T:System.Collections.Generic.IEnumerable`1" /> 中复制的元素,具有默认的并发级别和默认的初始容量,并为键类型使用默认比较器。</summary>
  528. <param name="collection">
  529. <see cref="T:System.Collections.Generic.IEnumerable`1" />,其元素被复制到新的 <see cref="T:System.Collections.Concurrent.ConcurrentDictionary`2" /> 中。</param>
  530. <exception cref="T:System.ArgumentNullException">
  531. <paramref name="collection" /> 或其中的任一键为 null。</exception>
  532. <exception cref="T:System.ArgumentException">
  533. <paramref name="collection" /> 包含一个或多个重复键。</exception>
  534. </member>
  535. <member name="M:System.Collections.Concurrent.ConcurrentDictionary`2.#ctor(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{`0,`1}},System.Collections.Generic.IEqualityComparer{`0})">
  536. <summary>初始化 <see cref="T:System.Collections.Concurrent.ConcurrentDictionary`2" /> 类的新实例,该实例包含从指定的 <see cref="T:System.Collections.IEnumerable" /> 中复制的元素,具有默认的并发级别和默认的初始容量,并使用指定的 <see cref="T:System.Collections.Generic.IEqualityComparer`1" />。</summary>
  537. <param name="collection">
  538. <see cref="T:System.Collections.Generic.IEnumerable`1" />,其元素被复制到新的 <see cref="T:System.Collections.Concurrent.ConcurrentDictionary`2" /> 中。</param>
  539. <param name="comparer">在比较键时要使用的 <see cref="T:System.Collections.Generic.IEqualityComparer`1" /> 实现。</param>
  540. <exception cref="T:System.ArgumentNullException">
  541. <paramref name="collection" /> 或 <paramref name="comparer" /> 为 null。</exception>
  542. </member>
  543. <member name="M:System.Collections.Concurrent.ConcurrentDictionary`2.#ctor(System.Collections.Generic.IEqualityComparer{`0})">
  544. <summary>初始化 <see cref="T:System.Collections.Concurrent.ConcurrentDictionary`2" /> 类的新实例,该实例为空,具有默认的并发级别和容量,并使用指定的 <see cref="T:System.Collections.Generic.IEqualityComparer`1" />。</summary>
  545. <param name="comparer">在对键进行比较时使用的相等比较实现。</param>
  546. <exception cref="T:System.ArgumentNullException">
  547. <paramref name="comparer" /> 为 null。</exception>
  548. </member>
  549. <member name="M:System.Collections.Concurrent.ConcurrentDictionary`2.#ctor(System.Int32,System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{`0,`1}},System.Collections.Generic.IEqualityComparer{`0})">
  550. <summary>初始化 <see cref="T:System.Collections.Concurrent.ConcurrentDictionary`2" /> 类的新实例,该实例包含从指定的 <see cref="T:System.Collections.IEnumerable" /> 中复制的元素并使用指定的 <see cref="T:System.Collections.Generic.IEqualityComparer`1" />。</summary>
  551. <param name="concurrencyLevel">将同时更新 <see cref="T:System.Collections.Concurrent.ConcurrentDictionary`2" /> 的线程的估计数量。</param>
  552. <param name="collection">
  553. <see cref="T:System.Collections.Generic.IEnumerable`1" />,其元素被复制到新的 <see cref="T:System.Collections.Concurrent.ConcurrentDictionary`2" /> 中。</param>
  554. <param name="comparer">在比较键时要使用的 <see cref="T:System.Collections.Generic.IEqualityComparer`1" /> 实现。</param>
  555. <exception cref="T:System.ArgumentNullException">
  556. <paramref name="collection" /> 或 <paramref name="comparer" /> 为 null。</exception>
  557. <exception cref="T:System.ArgumentOutOfRangeException">
  558. <paramref name="concurrencyLevel" /> 小于 1。</exception>
  559. <exception cref="T:System.ArgumentException">
  560. <paramref name="collection" /> 包含一个或多个重复键。</exception>
  561. </member>
  562. <member name="M:System.Collections.Concurrent.ConcurrentDictionary`2.#ctor(System.Int32,System.Int32)">
  563. <summary>初始化 <see cref="T:System.Collections.Concurrent.ConcurrentDictionary`2" /> 类的新实例,该实例为空,具有指定的并发级别和容量,并为键类型使用默认比较器。</summary>
  564. <param name="concurrencyLevel">将同时更新 <see cref="T:System.Collections.Concurrent.ConcurrentDictionary`2" /> 的线程的估计数量。</param>
  565. <param name="capacity">
  566. <see cref="T:System.Collections.Concurrent.ConcurrentDictionary`2" /> 可包含的初始元素数。</param>
  567. <exception cref="T:System.ArgumentOutOfRangeException">
  568. <paramref name="concurrencyLevel" /> 小于 1。- 或 -<paramref name="capacity" /> 小于 0。</exception>
  569. </member>
  570. <member name="M:System.Collections.Concurrent.ConcurrentDictionary`2.#ctor(System.Int32,System.Int32,System.Collections.Generic.IEqualityComparer{`0})">
  571. <summary>初始化 <see cref="T:System.Collections.Concurrent.ConcurrentDictionary`2" /> 类的新实例,该实例为空,具有指定的并发级别和指定的初始容量,并使用指定的 <see cref="T:System.Collections.Generic.IEqualityComparer`1" />。</summary>
  572. <param name="concurrencyLevel">将同时更新 <see cref="T:System.Collections.Concurrent.ConcurrentDictionary`2" /> 的线程的估计数量。</param>
  573. <param name="capacity">
  574. <see cref="T:System.Collections.Concurrent.ConcurrentDictionary`2" /> 可包含的初始元素数。</param>
  575. <param name="comparer">在比较键时要使用的 <see cref="T:System.Collections.Generic.IEqualityComparer`1" /> 实现。</param>
  576. <exception cref="T:System.ArgumentNullException">
  577. <paramref name="comparer" /> 为 null。</exception>
  578. <exception cref="T:System.ArgumentOutOfRangeException">
  579. <paramref name="concurrencyLevel" /> 或 <paramref name="capacity" /> 小于 1。</exception>
  580. </member>
  581. <member name="M:System.Collections.Concurrent.ConcurrentDictionary`2.AddOrUpdate(`0,System.Func{`0,`1},System.Func{`0,`1,`1})">
  582. <summary>如果该键尚不存在,则使用指定函数将键/值对添加到 <see cref="T:System.Collections.Concurrent.ConcurrentDictionary`2" />;如果该键已存在,则使用该函数更新 <see cref="T:System.Collections.Concurrent.ConcurrentDictionary`2" /> 中的键/值对。</summary>
  583. <returns>键的新值。这将是 addValueFactory 的结果(如果缺少键)或 updateValueFactory 的结果(如果存在键)。</returns>
  584. <param name="key">要添加的键或应更新其值的键</param>
  585. <param name="addValueFactory">用于为空缺键生成值的函数</param>
  586. <param name="updateValueFactory">用于基于键的现有值为现有键生成新值的函数</param>
  587. <exception cref="T:System.ArgumentNullException">
  588. <paramref name="key" />、<paramref name="addValueFactory" /> 或 <paramref name="updateValueFactory" /> 为 null。</exception>
  589. <exception cref="T:System.OverflowException">字典已包含最大数目的元素 (<see cref="F:System.Int32.MaxValue" />)。</exception>
  590. </member>
  591. <member name="M:System.Collections.Concurrent.ConcurrentDictionary`2.AddOrUpdate(`0,`1,System.Func{`0,`1,`1})">
  592. <summary>如果该键尚不存在,则将键/值对添加到 <see cref="T:System.Collections.Concurrent.ConcurrentDictionary`2" />;如果该键已存在,则使用指定函数更新 <see cref="T:System.Collections.Concurrent.ConcurrentDictionary`2" /> 中的键/值对。</summary>
  593. <returns>键的新值。这将是 addValue(如果缺少键)或 updateValueFactory 的结果(如果存在键)。</returns>
  594. <param name="key">要添加的键或应更新其值的键</param>
  595. <param name="addValue">要为空缺键添加的值</param>
  596. <param name="updateValueFactory">用于基于键的现有值为现有键生成新值的函数</param>
  597. <exception cref="T:System.ArgumentNullException">
  598. <paramref name="key" /> 或 <paramref name="updateValueFactory" /> 为 null。</exception>
  599. <exception cref="T:System.OverflowException">字典已包含最大数目的元素 (<see cref="F:System.Int32.MaxValue" />)。</exception>
  600. </member>
  601. <member name="M:System.Collections.Concurrent.ConcurrentDictionary`2.Clear">
  602. <summary>从 <see cref="T:System.Collections.Concurrent.ConcurrentDictionary`2" /> 中移除所有的键和值。</summary>
  603. </member>
  604. <member name="M:System.Collections.Concurrent.ConcurrentDictionary`2.ContainsKey(`0)">
  605. <summary>确定 <see cref="T:System.Collections.Concurrent.ConcurrentDictionary`2" /> 是否包含指定的键。</summary>
  606. <returns>true if the <see cref="T:System.Collections.Concurrent.ConcurrentDictionary`2" /> contains an element with the specified key; otherwise, false.</returns>
  607. <param name="key">要在 <see cref="T:System.Collections.Concurrent.ConcurrentDictionary`2" /> 中定位的键。</param>
  608. <exception cref="T:System.ArgumentNullException">
  609. <paramref name="key" /> 为 null。</exception>
  610. </member>
  611. <member name="P:System.Collections.Concurrent.ConcurrentDictionary`2.Count">
  612. <summary>获取包含在 <see cref="T:System.Collections.Concurrent.ConcurrentDictionary`2" /> 中的键/值对的数目。</summary>
  613. <returns>包含在 <see cref="T:System.Collections.Concurrent.ConcurrentDictionary`2" /> 中的键/值对的数目。</returns>
  614. <exception cref="T:System.OverflowException">字典已包含最大数目的元素 (<see cref="F:System.Int32.MaxValue" />)。</exception>
  615. </member>
  616. <member name="M:System.Collections.Concurrent.ConcurrentDictionary`2.GetEnumerator">
  617. <summary>返回一个循环访问 <see cref="T:System.Collections.Concurrent.ConcurrentDictionary`2" /> 的枚举数。</summary>
  618. <returns>
  619. <see cref="T:System.Collections.Concurrent.ConcurrentDictionary`2" /> 的一个枚举数。</returns>
  620. </member>
  621. <member name="M:System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(`0,System.Func{`0,`1})">
  622. <summary>如果该键尚不存在,则使用指定函数将键/值对添加到 <see cref="T:System.Collections.Concurrent.ConcurrentDictionary`2" />。</summary>
  623. <returns>键的值。如果字典中已存在该键,则为该键的现有值;如果字典中不存在该键,则为由 valueFactory 返回的键的新值。</returns>
  624. <param name="key">要添加的元素的键。</param>
  625. <param name="valueFactory">用于为键生成值的函数</param>
  626. <exception cref="T:System.ArgumentNullException">
  627. <paramref name="key" /> 或 <paramref name="valueFactory" /> 为 null。</exception>
  628. <exception cref="T:System.OverflowException">字典已包含最大数目的元素 (<see cref="F:System.Int32.MaxValue" />)。</exception>
  629. </member>
  630. <member name="M:System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(`0,`1)">
  631. <summary>如果指定的键尚不存在,则将键/值对添加到 <see cref="T:System.Collections.Concurrent.ConcurrentDictionary`2" /> 中。</summary>
  632. <returns>键的值。如果字典中已存在该键,则为该键的现有值;如果字典中不存在该键,则为新值。</returns>
  633. <param name="key">要添加的元素的键。</param>
  634. <param name="value">当键不存在时要添加的值</param>
  635. <exception cref="T:System.ArgumentNullException">
  636. <paramref name="key" /> 为 null。</exception>
  637. <exception cref="T:System.OverflowException">字典已包含最大数目的元素 (<see cref="F:System.Int32.MaxValue" />)。</exception>
  638. </member>
  639. <member name="P:System.Collections.Concurrent.ConcurrentDictionary`2.IsEmpty">
  640. <summary>获取一个指示 <see cref="T:System.Collections.Concurrent.ConcurrentDictionary`2" /> 是否为空的值。</summary>
  641. <returns>如果 <see cref="T:System.Collections.Concurrent.ConcurrentDictionary`2" /> 为空,则为 true;否则为 false。</returns>
  642. </member>
  643. <member name="P:System.Collections.Concurrent.ConcurrentDictionary`2.Item(`0)">
  644. <summary>获取或设置与指定的键关联的值。</summary>
  645. <returns>位于指定索引处的键/值对的值。</returns>
  646. <param name="key">要获取或设置的值的键。</param>
  647. <exception cref="T:System.ArgumentNullException">
  648. <paramref name="key" /> 为 null。</exception>
  649. <exception cref="T:System.Collections.Generic.KeyNotFoundException">已检索该属性,并且集合中不存在 <paramref name="key" />。</exception>
  650. </member>
  651. <member name="P:System.Collections.Concurrent.ConcurrentDictionary`2.Keys">
  652. <summary>获取包含 <see cref="T:System.Collections.Generic.Dictionary`2" /> 中的键的集合。</summary>
  653. <returns>
  654. <see cref="T:System.Collections.Generic.Dictionary`2" /> 中的键的集合。</returns>
  655. </member>
  656. <member name="M:System.Collections.Concurrent.ConcurrentDictionary`2.System#Collections#Generic#ICollection{T}#Add(System.Collections.Generic.KeyValuePair{`0,`1})">
  657. <summary>向集合中添加一项。</summary>
  658. <param name="keyValuePair">要添加到字典中的 <see cref="T:System.Collections.Generic.KeyValuePair`2" />。</param>
  659. </member>
  660. <member name="M:System.Collections.Concurrent.ConcurrentDictionary`2.System#Collections#Generic#ICollection{T}#Contains(System.Collections.Generic.KeyValuePair{`0,`1})">
  661. <summary>获取一个值,该值指示 <see cref="T:System.Collections.Generic.ICollection`1" /> 是否包含具有指定键的元素。</summary>
  662. <returns>true if the <see cref="T:System.Collections.Generic.ICollection`1" /> contains an element with the specified key; otherwise, false.</returns>
  663. <param name="keyValuePair">要在 <see cref="T:System.Collections.Generic.ICollection`1" /> 中定位的键。</param>
  664. </member>
  665. <member name="M:System.Collections.Concurrent.ConcurrentDictionary`2.System#Collections#Generic#ICollection{T}#CopyTo(System.Collections.Generic.KeyValuePair{`0,`1}[],System.Int32)">
  666. <summary>从指定的数组索引开始,将 <see cref="T:System.Collections.ICollection" /> 中的元素复制到一个数组中。</summary>
  667. <param name="array">一维数组,它是从 <see cref="T:System.Collections.ICollection" /> 中复制的元素的目标。该数组的索引必须从零开始。</param>
  668. <param name="index">
  669. <paramref name="array" /> 中从零开始的索引,将在此处开始复制。</param>
  670. </member>
  671. <member name="P:System.Collections.Concurrent.ConcurrentDictionary`2.System#Collections#Generic#ICollection{T}#IsReadOnly">
  672. <summary>获取一个值,该值指示 <see cref="T:System.Collections.ICollection" /> 是否为只读。</summary>
  673. <returns>true if the <see cref="T:System.Collections.ICollection" /> is read-only; otherwise, false.</returns>
  674. </member>
  675. <member name="M:System.Collections.Concurrent.ConcurrentDictionary`2.System#Collections#Generic#ICollection{T}#Remove(System.Collections.Generic.KeyValuePair{`0,`1})">
  676. <summary>将指定的键/值对从集合中移除。</summary>
  677. <returns>如果该元素已成功移除,则为 true;否则为 false。如果在原始 <see cref="T:System.Collections.Generic.ICollection`1" /> 中没有找到 <paramref name="key" />,此方法也会返回 false。</returns>
  678. <param name="keyValuePair">要移除的 <see cref="T:System.Collections.Generic.KeyValuePair`2" />。</param>
  679. </member>
  680. <member name="M:System.Collections.Concurrent.ConcurrentDictionary`2.System#Collections#Generic#IDictionary{TKey@TValue}#Add(`0,`1)">
  681. <summary>向 <see cref="T:System.Collections.Generic.IDictionary`2" /> 中添加指定的键和值。</summary>
  682. <param name="key">用作要添加的元素的键的对象。</param>
  683. <param name="value">用作要添加的元素的值的对象。</param>
  684. <exception cref="T:System.ArgumentNullException">
  685. <paramref name="key" /> 为 null。</exception>
  686. <exception cref="T:System.ArgumentException">
  687. <see cref="T:System.Collections.Concurrent.ConcurrentDictionary`2" /> 中已存在具有相同键的元素。</exception>
  688. <exception cref="T:System.OverflowException">字典已包含最大数目的元素 (<see cref="F:System.Int32.MaxValue" />)。</exception>
  689. </member>
  690. <member name="M:System.Collections.Concurrent.ConcurrentDictionary`2.System#Collections#Generic#IDictionary{TKey@TValue}#Remove(`0)">
  691. <summary>从 <see cref="T:System.Collections.Generic.IDictionary`2" /> 中移除包含指定键的元素。</summary>
  692. <returns>如果该元素已成功移除,则为 true;否则为 false。This method also returns false if <paramref name="key" /> was not found in the original <see cref="T:System.Collections.Generic.IDictionary`2" />.</returns>
  693. <param name="key">要移除的元素的键。</param>
  694. <exception cref="T:System.ArgumentNullException">
  695. <paramref name="key" /> 为 null。</exception>
  696. </member>
  697. <member name="P:System.Collections.Concurrent.ConcurrentDictionary`2.System#Collections#Generic#IReadOnlyDictionary{TKey@TValue}#Keys">
  698. <summary>获取包含 <see cref="T:System.Collections.Generic.Dictionary`2" /> 中的键的集合。</summary>
  699. <returns>包含集合中的键<see cref="T:System.Collections.Generic.Dictionary`2" />。</returns>
  700. </member>
  701. <member name="P:System.Collections.Concurrent.ConcurrentDictionary`2.System#Collections#Generic#IReadOnlyDictionary{TKey@TValue}#Values">
  702. <summary>获取包含 <see cref="T:System.Collections.Generic.Dictionary`2" /> 中的值的集合。</summary>
  703. <returns>包含 <see cref="T:System.Collections.Generic.Dictionary`2" /> 中的值的集合。</returns>
  704. </member>
  705. <member name="M:System.Collections.Concurrent.ConcurrentDictionary`2.System#Collections#ICollection#CopyTo(System.Array,System.Int32)">
  706. <summary>从指定的数组索引开始,将 <see cref="T:System.Collections.ICollection" /> 中的元素复制到一个数组中。</summary>
  707. <param name="array">一维数组,它是从 <see cref="T:System.Collections.ICollection" /> 中复制的元素的目标。该数组的索引必须从零开始。</param>
  708. <param name="index">
  709. <paramref name="array" /> 中从零开始的索引,将在此处开始复制。</param>
  710. <exception cref="T:System.ArgumentNullException">
  711. <paramref name="array" /> 为 null。</exception>
  712. <exception cref="T:System.ArgumentOutOfRangeException">
  713. <paramref name="index" /> 小于 0。</exception>
  714. <exception cref="T:System.ArgumentException">
  715. <paramref name="index" /> 等于或大于 <paramref name="array" /> 的长度。- 或 -源 <see cref="T:System.Collections.ICollection" /> 中的元素数目大于从 <paramref name="index" /> 到目标 <paramref name="array" /> 末尾之间的可用空间。</exception>
  716. </member>
  717. <member name="P:System.Collections.Concurrent.ConcurrentDictionary`2.System#Collections#ICollection#IsSynchronized">
  718. <summary>获取一个值,该值指示对 <see cref="T:System.Collections.ICollection" /> 的访问是否与 SyncRoot 保持同步。</summary>
  719. <returns>true if access to the <see cref="T:System.Collections.ICollection" /> is synchronized (thread safe); otherwise, false.对于 <see cref="T:System.Collections.Concurrent.ConcurrentDictionary`2" />,此属性始终返回 false。</returns>
  720. </member>
  721. <member name="P:System.Collections.Concurrent.ConcurrentDictionary`2.System#Collections#ICollection#SyncRoot">
  722. <summary>获取一个可用于同步对 <see cref="T:System.Collections.ICollection" /> 的访问的对象。不支持此属性。</summary>
  723. <returns>始终返回 null。</returns>
  724. <exception cref="T:System.NotSupportedException">不支持此属性。</exception>
  725. </member>
  726. <member name="M:System.Collections.Concurrent.ConcurrentDictionary`2.System#Collections#IDictionary#Add(System.Object,System.Object)">
  727. <summary>将指定的键和值添加到字典中。</summary>
  728. <param name="key">要用作键的对象。</param>
  729. <param name="value">要用作值的对象。</param>
  730. <exception cref="T:System.ArgumentNullException">
  731. <paramref name="key" /> 为 null。</exception>
  732. <exception cref="T:System.ArgumentException">
  733. <paramref name="key" /> 所属类型不可分配给 <see cref="T:System.Collections.Generic.Dictionary`2" /> 的键类型。- 或 - <paramref name="value" /> 属于不能分配给 <see cref="T:System.Collections.Generic.Dictionary`2" /> 中的值类型的类型。 - 或 -<see cref="T:System.Collections.Generic.Dictionary`2" /> 中已存在相同键的值。</exception>
  734. <exception cref="T:System.OverflowException">字典已包含最大数目的元素 (<see cref="F:System.Int32.MaxValue" />)。</exception>
  735. </member>
  736. <member name="M:System.Collections.Concurrent.ConcurrentDictionary`2.System#Collections#IDictionary#Contains(System.Object)">
  737. <summary>获取一个值,该值指示 <see cref="T:System.Collections.Generic.IDictionary`2" /> 是否包含具有指定键的元素。</summary>
  738. <returns>true if the <see cref="T:System.Collections.Generic.IDictionary`2" /> contains an element with the specified key; otherwise, false.</returns>
  739. <param name="key">要在 <see cref="T:System.Collections.Generic.IDictionary`2" /> 中定位的键。</param>
  740. <exception cref="T:System.ArgumentNullException">
  741. <paramref name="key" /> 为 null。</exception>
  742. </member>
  743. <member name="M:System.Collections.Concurrent.ConcurrentDictionary`2.System#Collections#IDictionary#GetEnumerator">
  744. <summary>为 <see cref="T:System.Collections.Generic.IDictionary`2" /> 提供 <see cref="T:System.Collections.IDictionaryEnumerator" />。</summary>
  745. <returns>用于 <see cref="T:System.Collections.Generic.IDictionary`2" /> 的 <see cref="T:System.Collections.IDictionaryEnumerator" />。</returns>
  746. </member>
  747. <member name="P:System.Collections.Concurrent.ConcurrentDictionary`2.System#Collections#IDictionary#IsFixedSize">
  748. <summary>获取一个值,该值指示 <see cref="T:System.Collections.Generic.IDictionary`2" /> 是否具有固定大小。</summary>
  749. <returns>true if the <see cref="T:System.Collections.Generic.IDictionary`2" /> has a fixed size; otherwise, false.对于 <see cref="T:System.Collections.Concurrent.ConcurrentDictionary`2" />,此属性始终返回 false。</returns>
  750. </member>
  751. <member name="P:System.Collections.Concurrent.ConcurrentDictionary`2.System#Collections#IDictionary#IsReadOnly">
  752. <summary>获取一个值,该值指示 <see cref="T:System.Collections.Generic.IDictionary`2" /> 是否为只读。</summary>
  753. <returns>true if the <see cref="T:System.Collections.Generic.IDictionary`2" /> is read-only; otherwise, false.对于 <see cref="T:System.Collections.Concurrent.ConcurrentDictionary`2" />,此属性始终返回 false。</returns>
  754. </member>
  755. <member name="P:System.Collections.Concurrent.ConcurrentDictionary`2.System#Collections#IDictionary#Item(System.Object)">
  756. <summary>获取或设置与指定的键关联的值。</summary>
  757. <returns>与指定键关联的值;如果 <paramref name="key" /> 不在字典中或 <paramref name="key" /> 属于不能分配给 <see cref="T:System.Collections.Concurrent.ConcurrentDictionary`2" /> 的键类型的类型,则为 null。</returns>
  758. <param name="key">要获取或设置的值的键。</param>
  759. <exception cref="T:System.ArgumentNullException">
  760. <paramref name="key" /> 为 null。</exception>
  761. <exception cref="T:System.ArgumentException">将分配一个值,并且 <paramref name="key" /> 属于不能分配给 <see cref="T:System.Collections.Concurrent.ConcurrentDictionary`2" /> 的键类型或值类型的类型。</exception>
  762. </member>
  763. <member name="P:System.Collections.Concurrent.ConcurrentDictionary`2.System#Collections#IDictionary#Keys">
  764. <summary>获取包含 <see cref="T:System.Collections.Generic.IDictionary`2" /> 的键的 <see cref="T:System.Collections.ICollection" />。</summary>
  765. <returns>包含 <see cref="T:System.Collections.Generic.IDictionary`2" /> 的密钥的接口。</returns>
  766. </member>
  767. <member name="M:System.Collections.Concurrent.ConcurrentDictionary`2.System#Collections#IDictionary#Remove(System.Object)">
  768. <summary>从 <see cref="T:System.Collections.IDictionary" /> 中移除包含指定键的元素。</summary>
  769. <param name="key">要移除的元素的键。</param>
  770. <exception cref="T:System.ArgumentNullException">
  771. <paramref name="key" /> 为 null。</exception>
  772. </member>
  773. <member name="P:System.Collections.Concurrent.ConcurrentDictionary`2.System#Collections#IDictionary#Values">
  774. <summary>获取包含 <see cref="T:System.Collections.IDictionary" /> 中的值的 <see cref="T:System.Collections.ICollection" />。</summary>
  775. <returns>包含 <see cref="T:System.Collections.IDictionary" /> 中的值的接口。</returns>
  776. </member>
  777. <member name="M:System.Collections.Concurrent.ConcurrentDictionary`2.System#Collections#IEnumerable#GetEnumerator">
  778. <summary>返回一个循环访问 <see cref="T:System.Collections.Concurrent.ConcurrentDictionary`2" /> 的枚举数。</summary>
  779. <returns>
  780. <see cref="T:System.Collections.Concurrent.ConcurrentDictionary`2" /> 的一个枚举数。</returns>
  781. </member>
  782. <member name="M:System.Collections.Concurrent.ConcurrentDictionary`2.ToArray">
  783. <summary>将 <see cref="T:System.Collections.Concurrent.ConcurrentDictionary`2" /> 中存储的键和值对复制到新数组中。</summary>
  784. <returns>一个新数组,其中包含从 <see cref="T:System.Collections.Concurrent.ConcurrentDictionary`2" /> 复制的键和值对的快照。</returns>
  785. </member>
  786. <member name="M:System.Collections.Concurrent.ConcurrentDictionary`2.TryAdd(`0,`1)">
  787. <summary>尝试将指定的键和值添加到 <see cref="T:System.Collections.Concurrent.ConcurrentDictionary`2" /> 中。</summary>
  788. <returns>如果该键/值对已成功添加到 <see cref="T:System.Collections.Concurrent.ConcurrentDictionary`2" />,则为 true;如果该键已存在,则为 false。</returns>
  789. <param name="key">要添加的元素的键。</param>
  790. <param name="value">要添加的元素的值。对于引用类型,该值可以为 null。</param>
  791. <exception cref="T:System.ArgumentNullException">
  792. <paramref name="key" /> 为 null。</exception>
  793. <exception cref="T:System.OverflowException">字典已包含最大数目的元素 (<see cref="F:System.Int32.MaxValue" />)。</exception>
  794. </member>
  795. <member name="M:System.Collections.Concurrent.ConcurrentDictionary`2.TryGetValue(`0,`1@)">
  796. <summary>尝试从 <see cref="T:System.Collections.Concurrent.ConcurrentDictionary`2" /> 获取与指定的键关联的值。</summary>
  797. <returns>如果在 <see cref="T:System.Collections.Concurrent.ConcurrentDictionary`2" /> 中找到该键,则为 true;否则为 false。</returns>
  798. <param name="key">要获取的值的键。</param>
  799. <param name="value">此方法返回时,包含该对象从<see cref="T:System.Collections.Concurrent.ConcurrentDictionary`2" />如果操作失败,具有指定的键或该类型的默认值。</param>
  800. <exception cref="T:System.ArgumentNullException">
  801. <paramref name="key" /> 为 null。</exception>
  802. </member>
  803. <member name="M:System.Collections.Concurrent.ConcurrentDictionary`2.TryRemove(`0,`1@)">
  804. <summary>尝试从 <see cref="T:System.Collections.Concurrent.ConcurrentDictionary`2" /> 中移除并返回具有指定键的值。</summary>
  805. <returns>如果已成功移除对象,则为 true;否则为 false。</returns>
  806. <param name="key">要移除并返回的元素的键。</param>
  807. <param name="value">当此方法返回时,将包含从 <see cref="T:System.Collections.Concurrent.ConcurrentDictionary`2" /> 中移除的对象;如果 <paramref name="key" /> 不存在,则包含 TValue 类型。 </param>
  808. <exception cref="T:System.ArgumentNullException">
  809. <paramref name="key" /> 为 null。</exception>
  810. </member>
  811. <member name="M:System.Collections.Concurrent.ConcurrentDictionary`2.TryUpdate(`0,`1,`1)">
  812. <summary>将指定键的现有值与指定值进行比较,如果相等,则用第三个值更新该键。</summary>
  813. <returns>如果具有 <paramref name="key" /> 的值与 <paramref name="comparisonValue" /> 相等且替换为 <paramref name="newValue" />,则为 true;否则为 false。</returns>
  814. <param name="key">其值将与 <paramref name="comparisonValue" /> 进行比较并且可能被替换的键。</param>
  815. <param name="newValue">一个值,当比较结果相等时,将替换具有指定 <paramref name="key" /> 的元素的值。</param>
  816. <param name="comparisonValue">与具有指定 <paramref name="key" /> 的元素的值进行比较的值。</param>
  817. <exception cref="T:System.ArgumentNullException">
  818. <paramref name="key" /> 为 null。</exception>
  819. </member>
  820. <member name="P:System.Collections.Concurrent.ConcurrentDictionary`2.Values">
  821. <summary>获取包含 <see cref="T:System.Collections.Generic.Dictionary`2" /> 中的值的集合。</summary>
  822. <returns>包含 <see cref="T:System.Collections.Generic.Dictionary`2" /> 中的值的集合。</returns>
  823. </member>
  824. <member name="T:System.Collections.Concurrent.ConcurrentQueue`1">
  825. <summary>表示线程安全的先进先出 (FIFO) 集合。</summary>
  826. <typeparam name="T">队列中包含的元素的类型。</typeparam>
  827. </member>
  828. <member name="M:System.Collections.Concurrent.ConcurrentQueue`1.#ctor">
  829. <summary>初始化 <see cref="T:System.Collections.Concurrent.ConcurrentQueue`1" /> 类的新实例。</summary>
  830. </member>
  831. <member name="M:System.Collections.Concurrent.ConcurrentQueue`1.#ctor(System.Collections.Generic.IEnumerable{`0})">
  832. <summary>初始化 <see cref="T:System.Collections.Concurrent.ConcurrentQueue`1" /> 类的新实例,该类包含从指定集合中复制的元素</summary>
  833. <param name="collection">其元素被复制到新的 <see cref="T:System.Collections.Concurrent.ConcurrentQueue`1" /> 中的集合。</param>
  834. <exception cref="T:System.ArgumentNullException">
  835. <paramref name="collection" /> 参数为 null。</exception>
  836. </member>
  837. <member name="M:System.Collections.Concurrent.ConcurrentQueue`1.CopyTo(`0[],System.Int32)">
  838. <summary>从指定数组索引开始将 <see cref="T:System.Collections.Concurrent.ConcurrentQueue`1" /> 元素复制到现有一维 <see cref="T:System.Array" /> 中。</summary>
  839. <param name="array">一维 <see cref="T:System.Array" />,用作从 <see cref="T:System.Collections.Concurrent.ConcurrentQueue`1" /> 所复制的元素的目标数组。<see cref="T:System.Array" /> 必须具有从零开始的索引。</param>
  840. <param name="index">
  841. <paramref name="array" /> 中从零开始的索引,从此索引处开始进行复制。</param>
  842. <exception cref="T:System.ArgumentNullException">
  843. <paramref name="array" /> 是 null 引用(在 Visual Basic 中为 Nothing)。</exception>
  844. <exception cref="T:System.ArgumentOutOfRangeException">
  845. <paramref name="index" /> 小于零。</exception>
  846. <exception cref="T:System.ArgumentException">
  847. <paramref name="index" /> 等于或大于 <paramref name="array" /> 的长度 - 或 - 源 <see cref="T:System.Collections.Concurrent.ConcurrentQueue`1" /> 中的元素数大于从 <paramref name="index" /> 到目标 <paramref name="array" /> 结尾的可用空间。</exception>
  848. </member>
  849. <member name="P:System.Collections.Concurrent.ConcurrentQueue`1.Count">
  850. <summary>获取 <see cref="T:System.Collections.Concurrent.ConcurrentQueue`1" /> 中包含的元素数。</summary>
  851. <returns>
  852. <see cref="T:System.Collections.Concurrent.ConcurrentQueue`1" /> 中包含的元素个数。</returns>
  853. </member>
  854. <member name="M:System.Collections.Concurrent.ConcurrentQueue`1.Enqueue(`0)">
  855. <summary>将对象添加到 <see cref="T:System.Collections.Concurrent.ConcurrentQueue`1" /> 的结尾处。</summary>
  856. <param name="item">要添加到 <see cref="T:System.Collections.Concurrent.ConcurrentQueue`1" /> 的结尾处的对象。该值对于引用类型可以是空引用(在 Visual Basic 中为 Nothing)。</param>
  857. </member>
  858. <member name="M:System.Collections.Concurrent.ConcurrentQueue`1.GetEnumerator">
  859. <summary>返回循环访问 <see cref="T:System.Collections.Concurrent.ConcurrentQueue`1" /> 的枚举数。</summary>
  860. <returns>可枚举 <see cref="T:System.Collections.Concurrent.ConcurrentQueue`1" /> 的内容的枚举器。</returns>
  861. </member>
  862. <member name="P:System.Collections.Concurrent.ConcurrentQueue`1.IsEmpty">
  863. <summary>获取一个指示 <see cref="T:System.Collections.Concurrent.ConcurrentQueue`1" /> 是否为空的值。</summary>
  864. <returns>如果 <see cref="T:System.Collections.Concurrent.ConcurrentQueue`1" /> 为空,则为 true;否则为 false。</returns>
  865. </member>
  866. <member name="M:System.Collections.Concurrent.ConcurrentQueue`1.System#Collections#Concurrent#IProducerConsumerCollection{T}#TryAdd(`0)">
  867. <summary>尝试将一个对象添加到 <see cref="T:System.Collections.Concurrent.IProducerConsumerCollection`1" /> 中。</summary>
  868. <returns>如果成功添加了对象,则为 true;否则为 false。</returns>
  869. <param name="item">要添加到 <see cref="T:System.Collections.Concurrent.IProducerConsumerCollection`1" /> 的对象。该值对于引用类型可以是空引用(在 Visual Basic 中为 Nothing)。</param>
  870. </member>
  871. <member name="M:System.Collections.Concurrent.ConcurrentQueue`1.System#Collections#Concurrent#IProducerConsumerCollection{T}#TryTake(`0@)">
  872. <summary>尝试从 <see cref="T:System.Collections.Concurrent.IProducerConsumerCollection`1" /> 中移除并返回一个对象。</summary>
  873. <returns>如果成功移除并返回了元素,则为 true;否则为 false。</returns>
  874. <param name="item">此方法返回时,如果操作成功,则 <paramref name="item" /> 包含所移除的对象。如果没有可供移除的对象,则不指定该值。</param>
  875. </member>
  876. <member name="M:System.Collections.Concurrent.ConcurrentQueue`1.System#Collections#ICollection#CopyTo(System.Array,System.Int32)">
  877. <summary>从特定的 <see cref="T:System.Array" /> 索引处开始,将 <see cref="T:System.Collections.ICollection" /> 的元素复制到一个 <see cref="T:System.Array" /> 中。</summary>
  878. <param name="array">一维 <see cref="T:System.Array" />,用作从 <see cref="T:System.Collections.Concurrent.ConcurrentBag`1" /> 所复制的元素的目标数组。<see cref="T:System.Array" /> 必须具有从零开始的索引。</param>
  879. <param name="index">
  880. <paramref name="array" /> 中从零开始的索引,从此索引处开始进行复制。</param>
  881. <exception cref="T:System.ArgumentNullException">
  882. <paramref name="array" /> 是 null 引用(在 Visual Basic 中为 Nothing)。</exception>
  883. <exception cref="T:System.ArgumentOutOfRangeException">
  884. <paramref name="index" /> 小于零。</exception>
  885. <exception cref="T:System.ArgumentException">
  886. <paramref name="array" /> 是多维的。- 或 -<paramref name="array" /> 没有从零开始的索引。- 或 - <paramref name="index" /> 等于或大于 <paramref name="array" /> 的长度 - 或 - 源 <see cref="T:System.Collections.ICollection" /> 中的元素数大于从 <paramref name="index" /> 到目标 <paramref name="array" /> 结尾的可用空间。- 或 - 源 <see cref="T:System.Collections.ICollection" /> 的类型无法自动转换为目标 <paramref name="array" /> 的类型。</exception>
  887. </member>
  888. <member name="P:System.Collections.Concurrent.ConcurrentQueue`1.System#Collections#ICollection#IsSynchronized">
  889. <summary>获取一个值,该值指示对 <see cref="T:System.Collections.ICollection" /> 的访问是否与 SyncRoot 保持同步。</summary>
  890. <returns>如果对 <see cref="T:System.Collections.ICollection" /> 的访问与 SyncRoot 保持同步,则为 true;否则为 false。对于 <see cref="T:System.Collections.Concurrent.ConcurrentQueue`1" />,此属性始终返回 false。</returns>
  891. </member>
  892. <member name="P:System.Collections.Concurrent.ConcurrentQueue`1.System#Collections#ICollection#SyncRoot">
  893. <summary>获取可用于同步对 <see cref="T:System.Collections.ICollection" /> 的访问的对象。不支持此属性。</summary>
  894. <returns>返回 null(在 Visual Basic 中为 Nothing)。</returns>
  895. <exception cref="T:System.NotSupportedException">不支持 SyncRoot 属性。</exception>
  896. </member>
  897. <member name="M:System.Collections.Concurrent.ConcurrentQueue`1.System#Collections#IEnumerable#GetEnumerator">
  898. <summary>返回一个循环访问集合的枚举器。</summary>
  899. <returns>可用于循环访问集合的 <see cref="T:System.Collections.IEnumerator" />。</returns>
  900. </member>
  901. <member name="M:System.Collections.Concurrent.ConcurrentQueue`1.ToArray">
  902. <summary>将 <see cref="T:System.Collections.Concurrent.ConcurrentQueue`1" /> 中存储的元素复制到新数组中。</summary>
  903. <returns>一个新数组,其中包含从 <see cref="T:System.Collections.Concurrent.ConcurrentQueue`1" /> 复制的元素的快照。</returns>
  904. </member>
  905. <member name="M:System.Collections.Concurrent.ConcurrentQueue`1.TryDequeue(`0@)">
  906. <summary>尝试移除并返回位于并发队列开头处的对象。</summary>
  907. <returns>如果成功在 <see cref="T:System.Collections.Concurrent.ConcurrentQueue`1" /> 开头处移除并返回了元素,则为 true;否则为 false。</returns>
  908. <param name="result">此方法返回时,如果操作成功,则 <paramref name="result" /> 包含所移除的对象。如果没有可供移除的对象,则不指定该值。</param>
  909. </member>
  910. <member name="M:System.Collections.Concurrent.ConcurrentQueue`1.TryPeek(`0@)">
  911. <summary>尝试返回 <see cref="T:System.Collections.Concurrent.ConcurrentQueue`1" /> 开头处的对象但不将其移除。</summary>
  912. <returns>如果成功返回了对象,则为 true;否则为 false。</returns>
  913. <param name="result">此方法返回时,<paramref name="result" /> 包含 <see cref="T:System.Collections.Concurrent.ConcurrentQueue`1" /> 开始处的对象;如果操作失败,则包含未指定的值。</param>
  914. </member>
  915. <member name="T:System.Collections.Concurrent.ConcurrentStack`1">
  916. <summary>表示线程安全的后进先出 (LIFO) 集合。</summary>
  917. <typeparam name="T">堆栈中包含的元素的类型。</typeparam>
  918. </member>
  919. <member name="M:System.Collections.Concurrent.ConcurrentStack`1.#ctor">
  920. <summary>初始化 <see cref="T:System.Collections.Concurrent.ConcurrentStack`1" /> 类的新实例。</summary>
  921. </member>
  922. <member name="M:System.Collections.Concurrent.ConcurrentStack`1.#ctor(System.Collections.Generic.IEnumerable{`0})">
  923. <summary>初始化 <see cref="T:System.Collections.Concurrent.ConcurrentStack`1" /> 类的新实例,该实例包含从指定集合复制的元素</summary>
  924. <param name="collection">其元素被复制到新的 <see cref="T:System.Collections.Concurrent.ConcurrentStack`1" /> 中的集合。</param>
  925. <exception cref="T:System.ArgumentNullException">The <paramref name="collection" /> argument is null.</exception>
  926. </member>
  927. <member name="M:System.Collections.Concurrent.ConcurrentStack`1.Clear">
  928. <summary>从 <see cref="T:System.Collections.Concurrent.ConcurrentStack`1" /> 中移除所有对象。</summary>
  929. </member>
  930. <member name="M:System.Collections.Concurrent.ConcurrentStack`1.CopyTo(`0[],System.Int32)">
  931. <summary>从指定数组索引开始将 <see cref="T:System.Collections.Concurrent.ConcurrentStack`1" /> 元素复制到现有一维 <see cref="T:System.Array" /> 中。</summary>
  932. <param name="array">一维 <see cref="T:System.Array" />,用作从 <see cref="T:System.Collections.Concurrent.ConcurrentStack`1" /> 所复制的元素的目标数组。<see cref="T:System.Array" /> 必须具有从零开始的索引。</param>
  933. <param name="index">
  934. <paramref name="array" /> 中从零开始的索引,从此索引处开始进行复制。</param>
  935. <exception cref="T:System.ArgumentNullException">
  936. <paramref name="array" /> is a null reference (Nothing in Visual Basic).</exception>
  937. <exception cref="T:System.ArgumentOutOfRangeException">
  938. <paramref name="index" /> is less than zero.</exception>
  939. <exception cref="T:System.ArgumentException">
  940. <paramref name="index" /> is equal to or greater than the length of the <paramref name="array" /> -or- The number of elements in the source <see cref="T:System.Collections.Concurrent.ConcurrentStack`1" /> is greater than the available space from <paramref name="index" /> to the end of the destination <paramref name="array" />.</exception>
  941. </member>
  942. <member name="P:System.Collections.Concurrent.ConcurrentStack`1.Count">
  943. <summary>获取 <see cref="T:System.Collections.Concurrent.ConcurrentStack`1" /> 中包含的元素数。</summary>
  944. <returns>
  945. <see cref="T:System.Collections.Concurrent.ConcurrentStack`1" /> 中包含的元素数。</returns>
  946. </member>
  947. <member name="M:System.Collections.Concurrent.ConcurrentStack`1.GetEnumerator">
  948. <summary>返回循环访问 <see cref="T:System.Collections.Concurrent.ConcurrentStack`1" /> 的枚举数。</summary>
  949. <returns>用于 <see cref="T:System.Collections.Concurrent.ConcurrentStack`1" /> 的枚举数。</returns>
  950. </member>
  951. <member name="P:System.Collections.Concurrent.ConcurrentStack`1.IsEmpty">
  952. <summary>获取一个值,该值指示 <see cref="T:System.Collections.Concurrent.ConcurrentStack`1" /> 是否为空。</summary>
  953. <returns>如果 <see cref="T:System.Collections.Concurrent.ConcurrentStack`1" /> 为空,则为 true;否则为 false。</returns>
  954. </member>
  955. <member name="M:System.Collections.Concurrent.ConcurrentStack`1.Push(`0)">
  956. <summary>将对象插入 <see cref="T:System.Collections.Concurrent.ConcurrentStack`1" /> 的顶部。</summary>
  957. <param name="item">要推入到 <see cref="T:System.Collections.Concurrent.ConcurrentStack`1" /> 中的对象。该值对于引用类型可以是空引用(在 Visual Basic 中为 Nothing)。</param>
  958. </member>
  959. <member name="M:System.Collections.Concurrent.ConcurrentStack`1.PushRange(`0[])">
  960. <summary>自动将多个对象插入 <see cref="T:System.Collections.Concurrent.ConcurrentStack`1" /> 的顶部。</summary>
  961. <param name="items">要推入到 <see cref="T:System.Collections.Concurrent.ConcurrentStack`1" /> 中的对象。</param>
  962. <exception cref="T:System.ArgumentNullException">
  963. <paramref name="items" /> is a null reference (Nothing in Visual Basic).</exception>
  964. </member>
  965. <member name="M:System.Collections.Concurrent.ConcurrentStack`1.PushRange(`0[],System.Int32,System.Int32)">
  966. <summary>自动将多个对象插入 <see cref="T:System.Collections.Concurrent.ConcurrentStack`1" /> 的顶部。</summary>
  967. <param name="items">要推入到 <see cref="T:System.Collections.Concurrent.ConcurrentStack`1" /> 中的对象。</param>
  968. <param name="startIndex">
  969. <paramref name="items" /> 中从零开始的偏移量,在此开始插入元素到 <see cref="T:System.Collections.Concurrent.ConcurrentStack`1" /> 的顶部。</param>
  970. <param name="count">要插入到 <see cref="T:System.Collections.Concurrent.ConcurrentStack`1" /> 的顶部的元素数。</param>
  971. <exception cref="T:System.ArgumentNullException">
  972. <paramref name="items" /> is a null reference (Nothing in Visual Basic).</exception>
  973. <exception cref="T:System.ArgumentOutOfRangeException">
  974. <paramref name="startIndex" /> or <paramref name="count" /> is negative.Or <paramref name="startIndex" /> is greater than or equal to the length of <paramref name="items" />.</exception>
  975. <exception cref="T:System.ArgumentException">
  976. <paramref name="startIndex" /> + <paramref name="count" /> is greater than the length of <paramref name="items" />.</exception>
  977. </member>
  978. <member name="M:System.Collections.Concurrent.ConcurrentStack`1.System#Collections#Concurrent#IProducerConsumerCollection{T}#TryAdd(`0)">
  979. <summary>尝试将一个对象添加到 <see cref="T:System.Collections.Concurrent.IProducerConsumerCollection`1" /> 中。</summary>
  980. <returns>如果成功添加了对象,则为 true;否则为 false。</returns>
  981. <param name="item">要添加到 <see cref="T:System.Collections.Concurrent.IProducerConsumerCollection`1" /> 的对象。该值对于引用类型可以是空引用(在 Visual Basic 中为 Nothing)。</param>
  982. </member>
  983. <member name="M:System.Collections.Concurrent.ConcurrentStack`1.System#Collections#Concurrent#IProducerConsumerCollection{T}#TryTake(`0@)">
  984. <summary>尝试从 <see cref="T:System.Collections.Concurrent.IProducerConsumerCollection`1" /> 中移除和返回一个对象。</summary>
  985. <returns>如果成功移除并返回了元素,则为 true;否则为 false。</returns>
  986. <param name="item">此方法返回时,如果操作成功,则 <paramref name="item" /> 包含所移除的对象。如果没有可供移除的对象,则不指定该值。</param>
  987. </member>
  988. <member name="M:System.Collections.Concurrent.ConcurrentStack`1.System#Collections#ICollection#CopyTo(System.Array,System.Int32)">
  989. <summary>从特定的 <see cref="T:System.Array" /> 索引处开始,将 <see cref="T:System.Collections.ICollection" /> 的元素复制到一个 <see cref="T:System.Array" /> 中。</summary>
  990. <param name="array">一维 <see cref="T:System.Array" />,用作从 <see cref="T:System.Collections.Concurrent.ConcurrentStack`1" /> 所复制的元素的目标数组。<see cref="T:System.Array" /> 必须具有从零开始的索引。</param>
  991. <param name="index">
  992. <paramref name="array" /> 中从零开始的索引,从此索引处开始进行复制。</param>
  993. <exception cref="T:System.ArgumentNullException">
  994. <paramref name="array" /> is a null reference (Nothing in Visual Basic).</exception>
  995. <exception cref="T:System.ArgumentOutOfRangeException">
  996. <paramref name="index" /> is less than zero.</exception>
  997. <exception cref="T:System.ArgumentException">
  998. <paramref name="array" /> is multidimensional.-or- <paramref name="array" /> does not have zero-based indexing.-or- <paramref name="index" /> is equal to or greater than the length of the <paramref name="array" /> -or- The number of elements in the source <see cref="T:System.Collections.ICollection" /> is greater than the available space from <paramref name="index" /> to the end of the destination <paramref name="array" />.-or- The type of the source <see cref="T:System.Collections.ICollection" /> cannot be cast automatically to the type of the destination <paramref name="array" />.</exception>
  999. </member>
  1000. <member name="P:System.Collections.Concurrent.ConcurrentStack`1.System#Collections#ICollection#IsSynchronized">
  1001. <summary>获取一个指示对 <see cref="T:System.Collections.ICollection" /> 的访问是否与 SyncRoot 同步的值。</summary>
  1002. <returns>如果对 <see cref="T:System.Collections.ICollection" /> 的访问与 SyncRoot 同步,则为 true;否则为 false。对于 <see cref="T:System.Collections.Concurrent.ConcurrentStack`1" />,此属性始终返回 false。</returns>
  1003. </member>
  1004. <member name="P:System.Collections.Concurrent.ConcurrentStack`1.System#Collections#ICollection#SyncRoot">
  1005. <summary>获取可用于同步对 <see cref="T:System.Collections.ICollection" /> 的访问的对象。不支持此属性。</summary>
  1006. <returns>返回 null(在 Visual Basic 中为 Nothing)。</returns>
  1007. <exception cref="T:System.NotSupportedException">The SyncRoot property is not supported</exception>
  1008. </member>
  1009. <member name="M:System.Collections.Concurrent.ConcurrentStack`1.System#Collections#IEnumerable#GetEnumerator">
  1010. <summary>返回循环访问集合的枚举数。</summary>
  1011. <returns>可用于循环访问集合的 <see cref="T:System.Collections.IEnumerator" />。</returns>
  1012. </member>
  1013. <member name="M:System.Collections.Concurrent.ConcurrentStack`1.ToArray">
  1014. <summary>将 <see cref="T:System.Collections.Concurrent.ConcurrentStack`1" /> 中存储的项复制到一个新的数组。</summary>
  1015. <returns>新数组包含从 <see cref="T:System.Collections.Concurrent.ConcurrentStack`1" /> 复制的元素的快照。</returns>
  1016. </member>
  1017. <member name="M:System.Collections.Concurrent.ConcurrentStack`1.TryPeek(`0@)">
  1018. <summary>尝试从 <see cref="T:System.Collections.Concurrent.ConcurrentStack`1" /> 的顶部返回一个对象而无需移除它。</summary>
  1019. <returns>如果成功返回了对象,则为 true;否则为 false。</returns>
  1020. <param name="result">当此方法返回时,<paramref name="result" /> 包含来自 <see cref="T:System.Collections.Concurrent.ConcurrentStack`1" /> 顶部的一个对象,或者如果操作失败,则包含未指定值。</param>
  1021. </member>
  1022. <member name="M:System.Collections.Concurrent.ConcurrentStack`1.TryPop(`0@)">
  1023. <summary>尝试弹出并返回 <see cref="T:System.Collections.Concurrent.ConcurrentStack`1" /> 顶部的对象。</summary>
  1024. <returns>如果从 <see cref="T:System.Collections.Concurrent.ConcurrentStack`1" /> 的顶部成功移除并返回了元素,则为 true;否则为 false。</returns>
  1025. <param name="result">此方法返回时,如果操作成功,则 <paramref name="result" /> 包含所移除的对象。如果没有可供移除的对象,则不指定该值。</param>
  1026. </member>
  1027. <member name="M:System.Collections.Concurrent.ConcurrentStack`1.TryPopRange(`0[])">
  1028. <summary>尝试自动弹出并返回 <see cref="T:System.Collections.Concurrent.ConcurrentStack`1" /> 顶部的多个对象。</summary>
  1029. <returns>成功从 <see cref="T:System.Collections.Concurrent.ConcurrentStack`1" /> 顶部弹出并插入 <paramref name="items" /> 中的对象数。</returns>
  1030. <param name="items">要将从 <see cref="T:System.Collections.Concurrent.ConcurrentStack`1" /> 顶部弹出的对象添加到的 <see cref="T:System.Array" />。</param>
  1031. <exception cref="T:System.ArgumentNullException">
  1032. <paramref name="items" /> is a null argument (Nothing in Visual Basic).</exception>
  1033. </member>
  1034. <member name="M:System.Collections.Concurrent.ConcurrentStack`1.TryPopRange(`0[],System.Int32,System.Int32)">
  1035. <summary>尝试自动弹出并返回 <see cref="T:System.Collections.Concurrent.ConcurrentStack`1" /> 顶部的多个对象。</summary>
  1036. <returns>成功从堆栈顶部弹出并插入 <paramref name="items" /> 中的对象数。</returns>
  1037. <param name="items">要将从 <see cref="T:System.Collections.Concurrent.ConcurrentStack`1" /> 顶部弹出的对象添加到的 <see cref="T:System.Array" />。</param>
  1038. <param name="startIndex">
  1039. <paramref name="items" /> 中从零开始的偏移量,在此开始从 <see cref="T:System.Collections.Concurrent.ConcurrentStack`1" /> 顶部插入元素。</param>
  1040. <param name="count">从 <see cref="T:System.Collections.Concurrent.ConcurrentStack`1" /> 顶部弹出并插入 <paramref name="items" /> 中的元素数。</param>
  1041. <exception cref="T:System.ArgumentNullException">
  1042. <paramref name="items" /> is a null reference (Nothing in Visual Basic).</exception>
  1043. <exception cref="T:System.ArgumentOutOfRangeException">
  1044. <paramref name="startIndex" /> or <paramref name="count" /> is negative.Or <paramref name="startIndex" /> is greater than or equal to the length of <paramref name="items" />.</exception>
  1045. <exception cref="T:System.ArgumentException">
  1046. <paramref name="startIndex" /> + <paramref name="count" /> is greater than the length of <paramref name="items" />.</exception>
  1047. </member>
  1048. <member name="T:System.Collections.Concurrent.EnumerablePartitionerOptions">
  1049. <summary>指定控制分区程序的缓冲行为的选项</summary>
  1050. </member>
  1051. <member name="F:System.Collections.Concurrent.EnumerablePartitionerOptions.NoBuffering">
  1052. <summary>创建分区程序,该程序从源可枚举项中一次提取项而不使用中间存储,多个线程可以更有效地访问该存储。此选项支持低延迟(一从源获得项目就对其进行处理)且部分支持项目间的依赖项(线程无法死锁等待线程自身负责处理的项目)。</summary>
  1053. </member>
  1054. <member name="F:System.Collections.Concurrent.EnumerablePartitionerOptions.None">
  1055. <summary>使用默认行为,就是使用缓冲实现最佳性能。</summary>
  1056. </member>
  1057. <member name="T:System.Collections.Concurrent.IProducerConsumerCollection`1">
  1058. <summary>定义供制造者/使用者用来操作线程安全集合的方法。此接口提供一个统一的表示(为生产者/消费者集合),从而更高级别抽象如 <see cref="T:System.Collections.Concurrent.BlockingCollection`1" /> 可以使用集合作为基础的存储机制。</summary>
  1059. <typeparam name="T">指定集合中的元素的类型。</typeparam>
  1060. </member>
  1061. <member name="M:System.Collections.Concurrent.IProducerConsumerCollection`1.CopyTo(`0[],System.Int32)">
  1062. <summary>从指定的索引位置开始,将 <see cref="T:System.Collections.Concurrent.IProducerConsumerCollection`1" /> 的元素复制到 <see cref="T:System.Array" /> 中。</summary>
  1063. <param name="array">一维 <see cref="T:System.Array" />,用作从 <see cref="T:System.Collections.Concurrent.IProducerConsumerCollection`1" /> 所复制的元素的目标数组。 该数组的索引必须从零开始。</param>
  1064. <param name="index">
  1065. <paramref name="array" /> 中从零开始的索引,从此索引处开始进行复制。</param>
  1066. <exception cref="T:System.ArgumentNullException">
  1067. <paramref name="array" /> 是 null 引用(在 Visual Basic 中为 Nothing)。</exception>
  1068. <exception cref="T:System.ArgumentOutOfRangeException">
  1069. <paramref name="index" /> 小于零。</exception>
  1070. <exception cref="T:System.ArgumentException">
  1071. <paramref name="index" /> 等于或大于 <paramref name="array" /> 的长度 - 或 - 集合中的元素数大于从 <paramref name="index" /> 到目标 <paramref name="array" /> 结尾的可用空间。</exception>
  1072. </member>
  1073. <member name="M:System.Collections.Concurrent.IProducerConsumerCollection`1.ToArray">
  1074. <summary>将 <see cref="T:System.Collections.Concurrent.IProducerConsumerCollection`1" /> 中包含的元素复制到新数组中。</summary>
  1075. <returns>一个新数组,其中包含从 <see cref="T:System.Collections.Concurrent.IProducerConsumerCollection`1" /> 复制的元素。</returns>
  1076. </member>
  1077. <member name="M:System.Collections.Concurrent.IProducerConsumerCollection`1.TryAdd(`0)">
  1078. <summary>尝试将一个对象添加到 <see cref="T:System.Collections.Concurrent.IProducerConsumerCollection`1" /> 中。</summary>
  1079. <returns>如果成功添加了对象,则为 true;否则为 false。</returns>
  1080. <param name="item">要添加到 <see cref="T:System.Collections.Concurrent.IProducerConsumerCollection`1" /> 的对象。</param>
  1081. <exception cref="T:System.ArgumentException">
  1082. <paramref name="item" /> 对于此集合无效。</exception>
  1083. </member>
  1084. <member name="M:System.Collections.Concurrent.IProducerConsumerCollection`1.TryTake(`0@)">
  1085. <summary>尝试从 <see cref="T:System.Collections.Concurrent.IProducerConsumerCollection`1" /> 中移除并返回一个对象。</summary>
  1086. <returns>如果成功移除并返回了对象,则为 true;否则为 false。</returns>
  1087. <param name="item">此方法返回时,如果成功移除并返回了对象,则 <paramref name="item" /> 包含所移除的对象。如果没有可供移除的对象,则不指定该值。</param>
  1088. </member>
  1089. <member name="T:System.Collections.Concurrent.OrderablePartitioner`1">
  1090. <summary>表示将一个可排序数据源拆分成多个分区的特定方式。</summary>
  1091. <typeparam name="TSource">集合中的元素的类型。</typeparam>
  1092. </member>
  1093. <member name="M:System.Collections.Concurrent.OrderablePartitioner`1.#ctor(System.Boolean,System.Boolean,System.Boolean)">
  1094. <summary>从派生类中的构造函数进行调用以便使用索引键上指定的约束初始化 <see cref="T:System.Collections.Concurrent.OrderablePartitioner`1" /> 类。</summary>
  1095. <param name="keysOrderedInEachPartition">指示是否按键增加的顺序生成每个分区中的元素。</param>
  1096. <param name="keysOrderedAcrossPartitions">指示前一分区中的元素是否始终排在后一分区中的元素之前。如果为 true,则分区 0 中的每个元素的顺序键比分区 1 中的任何元素都要小,分区 1 中的每个元素的顺序键比分区 2 中的任何元素都要小,依次类推。</param>
  1097. <param name="keysNormalized">指示是否规范化键。如果为 true,所有顺序键均为范围 [0 .. numberOfElements-1] 中的不同整数。如果为 false,顺序键仍必须互不相同,但只考虑其相对顺序,而不考虑其绝对值。</param>
  1098. </member>
  1099. <member name="M:System.Collections.Concurrent.OrderablePartitioner`1.GetDynamicPartitions">
  1100. <summary>创建一个可将基础集合分区成可变数目的分区的对象。</summary>
  1101. <returns>一个可针对基础数据源创建分区的对象。</returns>
  1102. <exception cref="T:System.NotSupportedException">该基类不支持动态分区。它必须在派生类中实现。</exception>
  1103. </member>
  1104. <member name="M:System.Collections.Concurrent.OrderablePartitioner`1.GetOrderableDynamicPartitions">
  1105. <summary>创建一个可将基础集合分区成可变数目的分区的对象。</summary>
  1106. <returns>一个可针对基础数据源创建分区的对象。</returns>
  1107. <exception cref="T:System.NotSupportedException">此分区程序不支持动态分区。</exception>
  1108. </member>
  1109. <member name="M:System.Collections.Concurrent.OrderablePartitioner`1.GetOrderablePartitions(System.Int32)">
  1110. <summary>将基础集合分区成指定数目的可排序分区。</summary>
  1111. <returns>一个包含 <paramref name="partitionCount" /> 枚举器的列表。</returns>
  1112. <param name="partitionCount">要创建的分区数。</param>
  1113. </member>
  1114. <member name="M:System.Collections.Concurrent.OrderablePartitioner`1.GetPartitions(System.Int32)">
  1115. <summary>将基础集合分区成给定数目的可排序分区。</summary>
  1116. <returns>一个包含 <paramref name="partitionCount" /> 枚举器的列表。</returns>
  1117. <param name="partitionCount">要创建的分区数。</param>
  1118. </member>
  1119. <member name="P:System.Collections.Concurrent.OrderablePartitioner`1.KeysNormalized">
  1120. <summary>获取是否规范化顺序键。</summary>
  1121. <returns>如果规范化键,则为 true;否则为 false。</returns>
  1122. </member>
  1123. <member name="P:System.Collections.Concurrent.OrderablePartitioner`1.KeysOrderedAcrossPartitions">
  1124. <summary>获取前一分区中的元素是否始终排在后一分区中的元素之前。</summary>
  1125. <returns>如果前一分区中的元素始终排在后一分区中的元素之前,则为 true;否则为 false。</returns>
  1126. </member>
  1127. <member name="P:System.Collections.Concurrent.OrderablePartitioner`1.KeysOrderedInEachPartition">
  1128. <summary>获取是否按键增加的顺序生成每个分区中的元素。</summary>
  1129. <returns>如果按键增加的顺序生成每个分区中的元素,则为 true;否则为 false。</returns>
  1130. </member>
  1131. <member name="T:System.Collections.Concurrent.Partitioner">
  1132. <summary>提供针对数组、列表和可枚举项的常见分区策略。</summary>
  1133. </member>
  1134. <member name="M:System.Collections.Concurrent.Partitioner.Create``1(System.Collections.Generic.IEnumerable{``0})">
  1135. <summary>从 <see cref="T:System.Collections.Generic.IEnumerable`1" /> 实例创建一个可排序分区程序。</summary>
  1136. <returns>基于输入数组的可排序分区程序。</returns>
  1137. <param name="source">要进行分区的可枚举项。</param>
  1138. <typeparam name="TSource">源可枚举项中的元素的类型。</typeparam>
  1139. </member>
  1140. <member name="M:System.Collections.Concurrent.Partitioner.Create``1(System.Collections.Generic.IEnumerable{``0},System.Collections.Concurrent.EnumerablePartitionerOptions)">
  1141. <summary>从 <see cref="T:System.Collections.Generic.IEnumerable`1" /> 实例创建一个可排序分区程序。</summary>
  1142. <returns>基于输入数组的可排序分区程序。</returns>
  1143. <param name="source">要进行分区的可枚举项。</param>
  1144. <param name="partitionerOptions">控制分区缓冲行为的选项。</param>
  1145. <typeparam name="TSource">源可枚举项中的元素的类型。</typeparam>
  1146. <exception cref="T:System.ArgumentOutOfRangeException">
  1147. <paramref name="partitionerOptions" /> 参数为 <see cref="T:System.Collections.Concurrent.EnumerablePartitionerOptions" /> 指定无效值。</exception>
  1148. </member>
  1149. <member name="M:System.Collections.Concurrent.Partitioner.Create``1(System.Collections.Generic.IList{``0},System.Boolean)">
  1150. <summary>从 <see cref="T:System.Collections.Generic.IList`1" /> 实例创建一个可排序分区程序。</summary>
  1151. <returns>基于输入列表的可排序分区程序。</returns>
  1152. <param name="list">要进行分区的列表。</param>
  1153. <param name="loadBalance">一个布尔值,该值指示创建的分区程序是否应在各分区之间保持动态负载平衡,而不是静态负载平衡。</param>
  1154. <typeparam name="TSource">源列表中的元素的类型。</typeparam>
  1155. </member>
  1156. <member name="M:System.Collections.Concurrent.Partitioner.Create(System.Int32,System.Int32)">
  1157. <summary>创建一个按用户指定的范围划分区块的分区程序。</summary>
  1158. <returns>一个分区程序。</returns>
  1159. <param name="fromInclusive">范围下限(含)。</param>
  1160. <param name="toExclusive">范围上限(不含)。</param>
  1161. <exception cref="T:System.ArgumentOutOfRangeException">
  1162. <paramref name="toExclusive" /> 参数小于或等于 <paramref name="fromInclusive" /> 参数。</exception>
  1163. </member>
  1164. <member name="M:System.Collections.Concurrent.Partitioner.Create(System.Int32,System.Int32,System.Int32)">
  1165. <summary>创建一个按用户指定的范围划分区块的分区程序。</summary>
  1166. <returns>一个分区程序。</returns>
  1167. <param name="fromInclusive">范围下限(含)。</param>
  1168. <param name="toExclusive">范围上限(不含)。</param>
  1169. <param name="rangeSize">每个子范围的大小。</param>
  1170. <exception cref="T:System.ArgumentOutOfRangeException">
  1171. <paramref name="toExclusive" /> 参数小于或等于 <paramref name="fromInclusive" /> 参数。- 或 -<paramref name="rangeSize" /> 参数小于或等于 0。</exception>
  1172. </member>
  1173. <member name="M:System.Collections.Concurrent.Partitioner.Create(System.Int64,System.Int64)">
  1174. <summary>创建一个按用户指定的范围划分区块的分区程序。</summary>
  1175. <returns>一个分区程序。</returns>
  1176. <param name="fromInclusive">范围下限(含)。</param>
  1177. <param name="toExclusive">范围上限(不含)。</param>
  1178. <exception cref="T:System.ArgumentOutOfRangeException">
  1179. <paramref name="toExclusive" /> 参数小于或等于 <paramref name="fromInclusive" /> 参数。</exception>
  1180. </member>
  1181. <member name="M:System.Collections.Concurrent.Partitioner.Create(System.Int64,System.Int64,System.Int64)">
  1182. <summary>创建一个按用户指定的范围划分区块的分区程序。</summary>
  1183. <returns>一个分区程序。</returns>
  1184. <param name="fromInclusive">范围下限(含)。</param>
  1185. <param name="toExclusive">范围上限(不含)。</param>
  1186. <param name="rangeSize">每个子范围的大小。</param>
  1187. <exception cref="T:System.ArgumentOutOfRangeException">
  1188. <paramref name="toExclusive" /> 参数小于或等于 <paramref name="fromInclusive" /> 参数。- 或 -<paramref name="rangeSize" /> 参数小于或等于 0。</exception>
  1189. </member>
  1190. <member name="M:System.Collections.Concurrent.Partitioner.Create``1(``0[],System.Boolean)">
  1191. <summary>从 <see cref="T:System.Array" /> 实例创建一个可排序分区程序。</summary>
  1192. <returns>基于输入数组的可排序分区程序。</returns>
  1193. <param name="array">要进行分区的数组。</param>
  1194. <param name="loadBalance">一个布尔值,该值指示创建的分区程序是否应在各分区之间保持动态负载平衡,而不是静态负载平衡。</param>
  1195. <typeparam name="TSource">源数组中的元素的类型。</typeparam>
  1196. </member>
  1197. <member name="T:System.Collections.Concurrent.Partitioner`1">
  1198. <summary>表示将一个数据源拆分成多个分区的特定方式。</summary>
  1199. <typeparam name="TSource">集合中的元素的类型。</typeparam>
  1200. </member>
  1201. <member name="M:System.Collections.Concurrent.Partitioner`1.#ctor">
  1202. <summary>创建新的分区程序实例。</summary>
  1203. </member>
  1204. <member name="M:System.Collections.Concurrent.Partitioner`1.GetDynamicPartitions">
  1205. <summary>创建一个可将基础集合分区成可变数目的分区的对象。</summary>
  1206. <returns>一个可针对基础数据源创建分区的对象。</returns>
  1207. <exception cref="T:System.NotSupportedException">该基类不支持动态分区。必须在派生类中实现它。</exception>
  1208. </member>
  1209. <member name="M:System.Collections.Concurrent.Partitioner`1.GetPartitions(System.Int32)">
  1210. <summary>将基础集合分区成给定数目的分区。</summary>
  1211. <returns>一个包含 <paramref name="partitionCount" /> 枚举器的列表。</returns>
  1212. <param name="partitionCount">要创建的分区数。</param>
  1213. </member>
  1214. <member name="P:System.Collections.Concurrent.Partitioner`1.SupportsDynamicPartitions">
  1215. <summary>获取是否可以动态创建附加分区。</summary>
  1216. <returns>如果 <see cref="T:System.Collections.Concurrent.Partitioner`1" /> 可以根据分区请求动态创建分区,则为 true;如果 <see cref="T:System.Collections.Concurrent.Partitioner`1" /> 只能以静态方式分配分区,则为 false。</returns>
  1217. </member>
  1218. </members>
  1219. </doc>