diff --git a/xml/System.Net.Security/AuthenticatedStream.xml b/xml/System.Net.Security/AuthenticatedStream.xml index 0ee6e89d080..6e0e9a0973e 100644 --- a/xml/System.Net.Security/AuthenticatedStream.xml +++ b/xml/System.Net.Security/AuthenticatedStream.xml @@ -182,9 +182,20 @@ The following example demonstrates displaying the properties of an authenticated - To be added. - To be added. - To be added. + Asynchronously releases the unmanaged and managed resources used by the . + A task that represents the asynchronous dispose operation. + + is `false`; otherwise, the inner stream is just flushed. + + Calling `DisposeAsync` allows the resources used by the to be reallocated for other purposes. For more information, see [Cleaning Up Unmanaged Resources](~/docs/standard/garbage-collection/unmanaged.md). + + ]]> + @@ -536,4 +547,4 @@ The following example demonstrates displaying the value of this property. - \ No newline at end of file + diff --git a/xml/System.Net.Security/NegotiateStream.xml b/xml/System.Net.Security/NegotiateStream.xml index ec8a9695da6..4d6218ff33b 100644 --- a/xml/System.Net.Security/NegotiateStream.xml +++ b/xml/System.Net.Security/NegotiateStream.xml @@ -2629,9 +2629,21 @@ The following method is called when the operation completes. - To be added. - To be added. - To be added. + Asynchronously releases the unmanaged and managed resources used by the . + A task that represents the asynchronous dispose operation. + + + is `false`; otherwise, the inner stream is just flushed. + + Calling `DisposeAsync` allows the resources used by the to be reallocated for other purposes. For more information, see [Cleaning Up Unmanaged Resources](~/docs/standard/garbage-collection/unmanaged.md). + + ]]> + @@ -3822,4 +3834,4 @@ Authentication has not occurred. - \ No newline at end of file + diff --git a/xml/System.Net.Security/SslStream.xml b/xml/System.Net.Security/SslStream.xml index 91a5d1ac163..a79974a04cc 100644 --- a/xml/System.Net.Security/SslStream.xml +++ b/xml/System.Net.Security/SslStream.xml @@ -2451,9 +2451,21 @@ - To be added. - To be added. - To be added. + Asynchronously releases the unmanaged and managed resources used by the . + A task that represents the asynchronous dispose operation. + + + is `false`; otherwise, the inner stream is just flushed. + + Calling `DisposeAsync` allows the resources used by the to be reallocated for other purposes. For more information, see [Cleaning Up Unmanaged Resources](~/docs/standard/garbage-collection/unmanaged.md). + + ]]> + @@ -3597,11 +3609,26 @@ Authentication has not occurred. - To be added. - To be added. - To be added. - To be added. - To be added. + The buffer that receives the bytes read from this stream. + The token to monitor for cancellation requests. + Asynchronously reads data from this stream and stores it in the specified memory range. + A task that represents the asynchronous read operation. The value of its property contains the total number of bytes read into . When there is no more data to be read, returns 0. + + + + Authentication has not occurred. + The read operation failed. Check the inner exception, if it is present, to determine the cause of the failure. + There is already a read operation in progress. + This object has been closed. @@ -3631,13 +3658,38 @@ Authentication has not occurred. - To be added. - To be added. - To be added. - To be added. - To be added. - To be added. - To be added. + The buffer that receives the bytes read from this stream. + The zero-based location in at which to begin storing the data read from this stream. + The maximum number of bytes to read from this stream. + The token to monitor for cancellation requests. + Asynchronously reads data from this stream and stores it in the specified range of a byte array. + A task that represents the asynchronous read operation. The value of its property contains the total number of bytes read into . When there is no more data to be read, returns 0. + + + + is . + is less than 0. + + -or- + + is less than 0. + + -or- + + is greater than the length of minus . + Authentication has not occurred. + The read operation failed. Check the inner exception, if it is present, to determine the cause of the failure. + There is already a read operation in progress. + This object has been closed. @@ -3663,9 +3715,22 @@ Authentication has not occurred. - To be added. - To be added. - To be added. + Reads a byte from the and advances the position within the stream by one byte, or returns -1 if at the end of the stream. + The unsigned byte cast to an , or -1 if at the end of the stream. + + + + Authentication has not occurred. + The read operation failed. Check the inner exception, if present to determine the cause of the failure. + There is already a read operation in progress. + This object has been closed. @@ -4161,11 +4226,24 @@ Authentication has not occurred. - To be added. - To be added. - To be added. - To be added. - To be added. + The data to write to the underlying stream. + The token to monitor for cancellation requests. + Asynchronously writes data to the underlying stream from a read-only byte memory range. + A task that represents the asynchronous write operation. + + class does not support multiple simultaneous write operations. + + ]]> + + Authentication has not occurred. + The write operation failed. + There is already a write operation in progress. + This object has been closed. @@ -4195,13 +4273,36 @@ Authentication has not occurred. - To be added. - To be added. - To be added. - To be added. - To be added. - To be added. - To be added. + The data to write to the underlying stream. + The location in from which to start writing data. + The number of bytes to write to the underlying stream. + The token to monitor for cancellation requests. + Asynchronously writes data to the underlying stream from the specified range of a byte array. + A task that represents the asynchronous write operation. + + class does not support multiple simultaneous write operations. + + ]]> + + is . + is less than 0. + + -or- + + is less than 0. + + -or- + + is greater than the length of minus . + Authentication has not occurred. + The write operation failed. + There is already a write operation in progress. + This object has been closed. @@ -4260,4 +4361,4 @@ Authentication has not occurred. - \ No newline at end of file +