Cross-link Thread.Abort articles to SYSLIB0006#52296
Open
Conversation
Co-authored-by: BillWagner <493969+BillWagner@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Link articles about Thread.Abort usage
Cross-link Thread.Abort articles to SYSLIB0006
Mar 13, 2026
BillWagner
approved these changes
Mar 16, 2026
Member
BillWagner
left a comment
There was a problem hiding this comment.
This is ready for final review.
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates .NET threading conceptual documentation to cross-link Thread.Abort guidance to the SYSLIB0006 obsoletion details, so readers understand why Thread.Abort is unsupported on modern .NET.
Changes:
- Adds/expands
Thread.Abortguidance to distinguish .NET Framework behavior from .NET 5+ behavior and links to SYSLIB0006. - Updates related articles with additional references (including Destroying threads and SYSLIB0006) where
ThreadAbortException/Thread.Abortis mentioned. - Refreshes article metadata (
ms.date, andai-usagewhere applicable).
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| docs/standard/threading/managed-threading-best-practices.md | Expands best-practices guidance for Thread.Abort with modern .NET behavior and SYSLIB0006 link. |
| docs/standard/threading/exceptions-in-managed-threads.md | Clarifies ThreadAbortException applicability and links to SYSLIB0006 for modern .NET behavior. |
| docs/standard/threading/the-managed-thread-pool.md | Adds .NET Framework scoping and SYSLIB0006 link for ThreadAbortException/Thread.Abort mention. |
| docs/standard/threading/pausing-and-resuming-threads.md | Adds SYSLIB0006 link alongside existing Thread.Abort/thread interruption discussion. |
| docs/standard/threading/using-threads-and-threading.md | Splits .NET Framework vs modern .NET guidance for forcibly terminating execution and adds SYSLIB0006 link. |
| docs/standard/threading/managed-and-unmanaged-threading-in-windows.md | Adds a note clarifying modern .NET behavior for Thread.Abort with a SYSLIB0006 link. |
| docs/standard/threading/destroying-threads.md | Adds SYSLIB0006 link to the See also section. |
Co-authored-by: BillWagner <493969+BillWagner@users.noreply.github.com>
…e and .NET 5+ Co-authored-by: BillWagner <493969+BillWagner@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
~10 conceptual threading articles mention
Thread.Abortand discourage its use, but none linked back to the SYSLIB0006 obsoletions article that explains why it's unsupported in .NET 5+.Changes
managed-threading-best-practices.md— Extended the "Don't use Thread.Abort" bullet with .NET 5+ obsolete/PlatformNotSupportedExceptionnote, SYSLIB0006 link, andCancellationTokenas the alternativeexceptions-in-managed-threads.md— Clarified.NET Framework onlybullet applies only to Framework; added .NET 5+ behavior and SYSLIB0006 linkthe-managed-thread-pool.md— Added.NET Framework onlyscope and SYSLIB0006 link toThreadAbortExceptionbulletpausing-and-resuming-threads.md— Added SYSLIB0006 link alongside existingdestroying-threads.mdreferenceusing-threads-and-threading.md— Split one overlong paragraph into two (Framework vs. .NET 5+); updated "not supported in .NET Core" → "not supported in .NET 5 and later"; added SYSLIB0006 linkmanaged-and-unmanaged-threading-in-windows.md— Added[!NOTE]callout after Win32 mapping table intro notingThread.AbortthrowsPlatformNotSupportedExceptionin .NET 5+ with SYSLIB0006 linkdestroying-threads.md— Added SYSLIB0006 to See also section alongside the existing breaking-change article linkOriginal prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.
Internal previews