Skip to content

Fix wrong information for degreeOfParallelism #3583

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 4, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions xml/System.Linq/ParallelEnumerable.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10268,14 +10268,14 @@
<Docs>
<typeparam name="TSource">The type of elements of <paramref name="source" />.</typeparam>
<param name="source">A ParallelQuery on which to set the limit on the degrees of parallelism.</param>
<param name="degreeOfParallelism">The degree of parallelism for the query. The default value is Math.Min(<see cref="P:System.Environment.ProcessorCount" />, <see langword="MAX_SUPPORTED_DOP" />) where <see langword="MAX_SUPPORTED_DOP" /> is 512.</param>
<param name="degreeOfParallelism">The degree of parallelism for the query.</param>
<summary>Sets the degree of parallelism to use in a query. Degree of parallelism is the maximum number of concurrently executing tasks that will be used to process the query.</summary>
<returns>ParallelQuery representing the same query as source, with the limit on the degrees of parallelism set.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="source" /> is a null reference (Nothing in Visual Basic).</exception>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="degreeOfParallelism" /> is less than 1 or greater than 511.</exception>
<paramref name="degreeOfParallelism" /> is less than 1 or greater than 512.</exception>
<exception cref="T:System.InvalidOperationException">WithDegreeOfParallelism is used multiple times in the query.</exception>
<related type="Article" href="~/docs/standard/parallel-programming/parallel-linq-plinq.md">Parallel LINQ (PLINQ)</related>
</Docs>
Expand Down