Skip to content

Commit 9788887

Browse files
committed
xml docs
1 parent 7271623 commit 9788887

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

dotnet/src/webdriver/Internal/PortUtilities.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ public static class PortUtilities
3232
/// Finds a random, free port to be listened on.
3333
/// </summary>
3434
/// <returns>A random, free port to be listened on.</returns>
35+
/// <exception cref="InvalidOperationException">
36+
/// Thrown when a free port cannot be found due to socket binding issues.
37+
/// </exception>
3538
public static int FindFreePort()
3639
{
3740
using var socket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);

0 commit comments

Comments
 (0)