Skip to content
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
12 changes: 6 additions & 6 deletions xml/System.Threading.Tasks/Task.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2758,7 +2758,7 @@ End Sub
]]></format>
</remarks>
<exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="millisecondsDelay" /> argument is less than -1.</exception>
<exception cref="T:System.Threading.Tasks.TaskCanceledException">The task has been canceled.</exception>
<exception cref="T:System.OperationCanceledException">The task has been canceled. This exception is stored into the returned task.</exception>
<exception cref="T:System.ObjectDisposedException">The provided <paramref name="cancellationToken" /> has already been disposed.</exception>
</Docs>
</Member>
Expand Down Expand Up @@ -2844,7 +2844,7 @@ Task t Status: RanToCompletion, Result: 42
-or-

The <paramref name="delay" /> argument's <see cref="P:System.TimeSpan.TotalMilliseconds" /> property is greater than 4294967294 on .NET 6 and later versions, or <see cref="F:System.Int32.MaxValue">Int32.MaxValue</see> on all previous versions.</exception>
<exception cref="T:System.Threading.Tasks.TaskCanceledException">The task has been canceled.</exception>
<exception cref="T:System.OperationCanceledException">The task has been canceled. This exception is stored into the returned task.</exception>
<exception cref="T:System.ObjectDisposedException">The provided <paramref name="cancellationToken" /> has already been disposed.</exception>
</Docs>
</Member>
Expand Down Expand Up @@ -4074,7 +4074,7 @@ This method is intended for compiler use rather than use directly in code.
]]></format>
</remarks>
<exception cref="T:System.ArgumentNullException">The <paramref name="action" /> parameter was <see langword="null" />.</exception>
<exception cref="T:System.Threading.Tasks.TaskCanceledException">The task has been canceled.</exception>
<exception cref="T:System.OperationCanceledException">The task has been canceled. This exception is stored into the returned task.</exception>
<exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.CancellationTokenSource" /> associated with <paramref name="cancellationToken" /> was disposed.</exception>
<related type="Article" href="/dotnet/standard/parallel-programming/exception-handling-task-parallel-library">Exception Handling (Task Parallel Library)</related>
</Docs>
Expand Down Expand Up @@ -4142,7 +4142,7 @@ This method is intended for compiler use rather than use directly in code.
]]></format>
</remarks>
<exception cref="T:System.ArgumentNullException">The <paramref name="function" /> parameter was <see langword="null" />.</exception>
<exception cref="T:System.Threading.Tasks.TaskCanceledException">The task has been canceled.</exception>
<exception cref="T:System.OperationCanceledException">The task has been canceled. This exception is stored into the returned task.</exception>
<exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.CancellationTokenSource" /> associated with <paramref name="cancellationToken" /> was disposed.</exception>
<related type="Article" href="/dotnet/standard/parallel-programming/task-cancellation">Task Cancellation</related>
<related type="Article" href="/dotnet/standard/parallel-programming/exception-handling-task-parallel-library">Exception Handling (Task Parallel Library)</related>
Expand Down Expand Up @@ -4383,7 +4383,7 @@ This method is intended for compiler use rather than use directly in code.
]]></format>
</remarks>
<exception cref="T:System.ArgumentNullException">The <paramref name="function" /> parameter was <see langword="null" />.</exception>
<exception cref="T:System.Threading.Tasks.TaskCanceledException">The task has been canceled.</exception>
<exception cref="T:System.OperationCanceledException">The task has been canceled. This exception is stored into the returned task.</exception>
<exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.CancellationTokenSource" /> associated with <paramref name="cancellationToken" /> was disposed.</exception>
<related type="Article" href="/dotnet/standard/parallel-programming/task-cancellation">Task Cancellation</related>
<related type="Article" href="/dotnet/standard/parallel-programming/exception-handling-task-parallel-library">Exception Handling (Task Parallel Library)</related>
Expand Down Expand Up @@ -4482,7 +4482,7 @@ This method is intended for compiler use rather than use directly in code.
]]></format>
</remarks>
<exception cref="T:System.ArgumentNullException">The <paramref name="function" /> parameter is <see langword="null" />.</exception>
<exception cref="T:System.Threading.Tasks.TaskCanceledException">The task has been canceled.</exception>
<exception cref="T:System.OperationCanceledException">The task has been canceled. This exception is stored into the returned task.</exception>
<exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.CancellationTokenSource" /> associated with <paramref name="cancellationToken" /> was disposed.</exception>
<related type="Article" href="/dotnet/standard/parallel-programming/task-cancellation">Task Cancellation</related>
<related type="Article" href="/dotnet/standard/parallel-programming/exception-handling-task-parallel-library">Exception Handling (Task Parallel Library)</related>
Expand Down