Skip to content

Document System.Threading.Thread Methods that throw PlatformNotSupportedException - #3852

Merged
rpetrusha merged 1 commit into
dotnet:masterfrom
DoctaJonez:master
Dec 1, 2017
Merged

rpetrusha merged 1 commit into
dotnet:masterfrom
DoctaJonez:master

Conversation

@DoctaJonez

@DoctaJonez DoctaJonez commented Dec 1, 2017 •

Copy link
Copy Markdown

Document System.Threading.Thread Methods that throw PlatformNotSupportedException

This pull request is the result of the following issue "Methods that throw PlatformNotSupportedException are not documented".

Summary

I have documented which methods of the System.Threading.Thread class throw a System.PlatformNotSupportedException in .Net Core. I have also referenced the platform-compat tool to confirm which OSes this error is thrown on, and documented accordingly.

Details

Added exception elements to the following methods Abort, Abort(object), ResetAbort, Resume, SetApartmentState (macOS and Linux only), and Suspend, as per the following platform-compat output https://raw.githubusercontent.com/dotnet/platform-compat/master/etc/exceptions.csv.

Fixes #3825

Suggested Reviewers

@rpetrusha

@rpetrusha rpetrusha added the ✨ 1st-time docs contributor! Indicates PRs from new contributors to the docs repository label Dec 1, 2017
@rpetrusha
rpetrusha self-requested a review December 1, 2017 18:11

@rpetrusha rpetrusha left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you so much not only for doing this, @DoctaJonez, but for doing such a great job! We'll merge your PR now. The changes should appear live on docs.microsoft.com in the next day or two. Again, we really appreciate your agreeing to contribute to documenting .NET Core exception information.

@rpetrusha
rpetrusha merged commit db88fa7 into dotnet:master Dec 1, 2017
@mairaw

mairaw commented Mar 22, 2018

Copy link
Copy Markdown
Contributor

Related to #2934

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

✨ 1st-time docs contributor! Indicates PRs from new contributors to the docs repository

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants