Skip to content

Commit d146af0

Browse files
authored
Mention (Read/Write)Async on (Read/Write)Timeout. (#8504)
1 parent 1c7f208 commit d146af0

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

xml/System.Net.Sockets/NetworkStream.xml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1877,8 +1877,7 @@ There is a failure reading from the network.</exception>
18771877
If the read operation does not complete within the time specified by this property, the read operation throws an <xref:System.IO.IOException>.
18781878
18791879
> [!NOTE]
1880-
> This property affects only synchronous reads performed by calling the <xref:System.Net.Sockets.NetworkStream.Read%2A> method. This property does not affect asynchronous reads performed by calling the <xref:System.Net.Sockets.NetworkStream.BeginRead%2A> method.
1881-
1880+
> This property affects only synchronous reads performed by calling the <xref:System.Net.Sockets.NetworkStream.Read%2A> method. This property does not affect asynchronous reads performed by calling the <xref:System.Net.Sockets.NetworkStream.BeginRead%2A> or <xref:System.Net.Sockets.NetworkStream.ReadAsync%2A> method.
18821881
18831882
18841883
## Examples
@@ -2530,7 +2529,7 @@ There was a failure while writing to the network.</exception>
25302529
If the write operation does not complete within the time specified by this property, the write operation throws a <xref:System.IO.IOException>.
25312530
25322531
> [!NOTE]
2533-
> This property affects only synchronous write operations performed by calling the <xref:System.Net.Sockets.NetworkStream.Write%2A> method. This property does not affect asynchronous writes performed by calling the <xref:System.Net.Sockets.NetworkStream.BeginWrite%2A> method.
2532+
> This property affects only synchronous write operations performed by calling the <xref:System.Net.Sockets.NetworkStream.Write%2A> method. This property does not affect asynchronous writes performed by calling the <xref:System.Net.Sockets.NetworkStream.BeginWrite%2A> or <xref:System.Net.Sockets.NetworkStream.WriteAsync%2A> method.
25342533
25352534
25362535

0 commit comments

Comments
 (0)