diff --git a/xml/System.Net.Sockets/NetworkStream.xml b/xml/System.Net.Sockets/NetworkStream.xml index cc06499f472..f962f02deaf 100644 --- a/xml/System.Net.Sockets/NetworkStream.xml +++ b/xml/System.Net.Sockets/NetworkStream.xml @@ -1107,7 +1107,7 @@ The Close method frees both unmanaged and managed resources associated with the An that represents an asynchronous call. Handles the end of an asynchronous read. - The number of bytes read from the . + The number of bytes read from the , or 0 if the underlying socket was closed. A region of memory to store data read from the . Reads data from the and stores it to a span of bytes in memory. - The number of bytes read from the . + The number of bytes read from the , or 0 if the underlying socket was closed. The number of bytes to read from the . The number of bytes to read from the . Reads data from the and stores it to a byte array. - The number of bytes read from the . + The number of bytes read from the , or 0 if the underlying socket was closed. The buffer to write the data to. The token to monitor for cancellation requests. Reads data from the and stores it in a byte memory range as an asynchronous operation. - A that represents the asynchronous read operation. The value of its property contains the total number of bytes read into . + A that represents the asynchronous read operation. The value of its property contains the total number of bytes read into , or 0 if the underlying socket was closed. The number of bytes to read from the . The token to monitor for cancellation requests. Reads data from the and stores it to a specified range of a byte array as an asynchronous operation. - A task that represents the asynchronous read operation. The value of its property contains the total number of bytes read into . + A task that represents the asynchronous read operation. The value of its property contains the total number of bytes read into , or 0 if the underlying socket was closed.