Skip to content

Commit 8343f0d

Browse files
lythixmairaw
authored andcommitted
Added link to the Windows Error Code API documentation (dotnet#1799)
* Added link to the Windows Error Code API documentation * Update xml/System.Net.Sockets/Socket.xml Co-Authored-By: lythix <[email protected]>
1 parent 8d25072 commit 8343f0d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

xml/System.Net.Sockets/Socket.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@
182182
The `socketType` parameter specifies the type of the <xref:System.Net.Sockets.Socket> class and the `protocolType` parameter specifies the protocol used by <xref:System.Net.Sockets.Socket>. The two parameters are not independent. Often the <xref:System.Net.Sockets.Socket> type is implicit in the protocol. If the combination of <xref:System.Net.Sockets.Socket> type and protocol type results in an invalid <xref:System.Net.Sockets.Socket>, this constructor throws a <xref:System.Net.Sockets.SocketException>.
183183

184184
> [!NOTE]
185-
> If this constructor throws a <xref:System.Net.Sockets.SocketException>, use the <xref:System.Net.Sockets.SocketException.ErrorCode%2A?displayProperty=nameWithType> property to obtain the specific error code. After you have obtained this code, refer to the Windows Sockets version 2 API error code documentation in the MSDN library for a detailed description of the error.
185+
> If this constructor throws a <xref:System.Net.Sockets.SocketException>, use the <xref:System.Net.Sockets.SocketException.ErrorCode%2A?displayProperty=nameWithType> property to obtain the specific error code. After you have obtained this code, refer to the [Windows Sockets version 2 API error code](/windows/desktop/winsock/windows-sockets-error-codes-2) documentation for a detailed description of the error.
186186

187187
> [!NOTE]
188188
> This member outputs trace information when you enable network tracing in your application. For more information, see [Network Tracing in the .NET Framework](~/docs/framework/network-programming/network-tracing.md).
@@ -10894,4 +10894,4 @@ Call IDisposable.Dispose when you are finished using the <xref:System.Net.Socket
1089410894
</Docs>
1089510895
</Member>
1089610896
</Members>
10897-
</Type>
10897+
</Type>

0 commit comments

Comments
 (0)