Skip to content

Documentation fix for Socket.Select #9992

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
Jul 19, 2024
Merged
Changes from 1 commit
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
20 changes: 16 additions & 4 deletions xml/System.Net.Sockets/Socket.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11054,11 +11054,13 @@ You must call the Bind method before performing this operation.</exception>

-and-

The <paramref name="checkWrite" /> parameter is <see langword="null" /> or empty
The <paramref name="checkWrite" /> parameter is <see langword="null" /> or empty

-and-

The <paramref name="checkError" /> parameter is <see langword="null" /> or empty.</exception>
The <paramref name="checkError" /> parameter is <see langword="null" /> or empty.

At least one of <paramref name="checkRead" />, <paramref name="checkWrite" /> and <paramref name="checkError" /> must contain at least one <see cref="T:System.Net.Sockets.Socket"/>.</exception>
<exception cref="T:System.Net.Sockets.SocketException">An error occurred when attempting to access the socket.</exception>
<exception cref="T:System.ObjectDisposedException">.NET 5 and later: One or more sockets are disposed.</exception>
<altmember cref="T:System.Collections.IList" />
Expand Down Expand Up @@ -11113,8 +11115,18 @@ You must call the Bind method before performing this operation.</exception>
<param name="timeout">The timeout value. A value equal to -1 microseconds indicates an infinite timeout.</param>
<summary>Determines the status of one or more sockets.</summary>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException">The <paramref name="checkRead" />, <paramref name="checkWrite" />, or <paramref name="checkError" /> parameter is <see langword="null" /> or empty.</exception>
<exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="checkRead" />, <paramref name="checkWrite" />, or <paramref name="checkError" /> parameter contains too many sockets.</exception>
<exception cref="T:System.ArgumentNullException">The <paramref name="checkRead" /> parameter is <see langword="null" /> or empty.

-and-

The <paramref name="checkWrite" /> parameter is <see langword="null" /> or empty

-and-

The <paramref name="checkError" /> parameter is <see langword="null" /> or empty.

At least one of <paramref name="checkRead" />, <paramref name="checkWrite" /> and <paramref name="checkError" /> must contain at least one <see cref="T:System.Net.Sockets.Socket"/>.</exception>
<exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="checkRead" />, <paramref name="che^ckWrite" />, or <paramref name="checkError" /> parameter contains too many sockets.</exception>
<exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="timeout" /> was less than -1 microseconds or greater than <see cref="F:System.Int32.MaxValue" /> microseconds</exception>
<exception cref="T:System.Net.Sockets.SocketException">An error occurred when attempting to access the socket.</exception>
<exception cref="T:System.ObjectDisposedException">One or more sockets was disposed.</exception>
Expand Down