You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: xml/System.Net.Security/AuthenticatedStream.xml
+15-4Lines changed: 15 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -182,9 +182,20 @@ The following example demonstrates displaying the properties of an authenticated
182
182
</ReturnValue>
183
183
<Parameters />
184
184
<Docs>
185
-
<summary>To be added.</summary>
186
-
<returns>To be added.</returns>
187
-
<remarks>To be added.</remarks>
185
+
<summary>Asynchronously releases the unmanaged and managed resources used by the <seecref="T:System.Net.Security.AuthenticatedStream" />.</summary>
186
+
<returns>A task that represents the asynchronous dispose operation.</returns>
187
+
<remarks>
188
+
<formattype="text/markdown"><.
196
+
197
+
]]></format>
198
+
</remarks>
188
199
</Docs>
189
200
</Member>
190
201
<MemberMemberName="InnerStream">
@@ -536,4 +547,4 @@ The following example demonstrates displaying the value of this property.
Copy file name to clipboardExpand all lines: xml/System.Net.Security/NegotiateStream.xml
+16-4Lines changed: 16 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -2629,9 +2629,21 @@ The following method is called when the operation completes.
2629
2629
</ReturnValue>
2630
2630
<Parameters />
2631
2631
<Docs>
2632
-
<summary>To be added.</summary>
2633
-
<returns>To be added.</returns>
2634
-
<remarks>To be added.</remarks>
2632
+
<summary>Asynchronously releases the unmanaged and managed resources used by the <seecref="T:System.Net.Security.NegotiateStream" />.</summary>
2633
+
<returns>A task that represents the asynchronous dispose operation.</returns>
2634
+
<remarks>
2635
+
<formattype="text/markdown">
2636
+
<.
2644
+
2645
+
]]></format>
2646
+
</remarks>
2635
2647
</Docs>
2636
2648
</Member>
2637
2649
<MemberMemberName="EndAuthenticateAsClient">
@@ -3822,4 +3834,4 @@ Authentication has not occurred.</exception>
<summary>Asynchronously releases the unmanaged and managed resources used by the <seecref="T:System.Net.Security.SslStream" />.</summary>
2455
+
<returns>A task that represents the asynchronous dispose operation.</returns>
2456
+
<remarks>
2457
+
<formattype="text/markdown">
2458
+
<.
2466
+
2467
+
]]></format>
2468
+
</remarks>
2457
2469
</Docs>
2458
2470
</Member>
2459
2471
<MemberMemberName="EndAuthenticateAsClient">
@@ -3597,11 +3609,26 @@ Authentication has not occurred.</exception>
<paramname="cancellationToken">To be added.</param>
3602
-
<summary>To be added.</summary>
3603
-
<returns>To be added.</returns>
3604
-
<remarks>To be added.</remarks>
3612
+
<paramname="buffer">The buffer that receives the bytes read from this stream.</param>
3613
+
<paramname="cancellationToken">The token to monitor for cancellation requests.</param>
3614
+
<summary>Asynchronously reads data from this stream and stores it in the specified memory range.</summary>
3615
+
<returns>A task that represents the asynchronous read operation. The value of its <seecref="P:System.Threading.Tasks.ValueTask`1.Result" /> property contains the total number of bytes read into <paramrefname="buffer" />. When there is no more data to be read, returns 0.</returns>
3616
+
<remarks>
3617
+
<formattype="text/markdown"><![CDATA[
3618
+
3619
+
## Remarks
3620
+
This method reads as much data as is available into the `buffer`.
3621
+
3622
+
You cannot perform multiple simultaneous read operations.
3623
+
3624
+
You cannot call this method until you have successfully authenticated.
3625
+
3626
+
]]></format>
3627
+
</remarks>
3628
+
<exceptioncref="T:System.InvalidOperationException">Authentication has not occurred.</exception>
3629
+
<exceptioncref="T:System.IO.IOException">The read operation failed. Check the inner exception, if it is present, to determine the cause of the failure.</exception>
3630
+
<exceptioncref="T:System.NotSupportedException">There is already a read operation in progress.</exception>
3631
+
<exceptioncref="T:System.ObjectDisposedException">This object has been closed.</exception>
3605
3632
</Docs>
3606
3633
</Member>
3607
3634
<MemberMemberName="ReadAsync">
@@ -3631,13 +3658,38 @@ Authentication has not occurred.</exception>
<paramname="cancellationToken">To be added.</param>
3638
-
<summary>To be added.</summary>
3639
-
<returns>To be added.</returns>
3640
-
<remarks>To be added.</remarks>
3661
+
<paramname="buffer">The buffer that receives the bytes read from this stream.</param>
3662
+
<paramname="offset">The zero-based location in <paramrefname="buffer" /> at which to begin storing the data read from this stream.</param>
3663
+
<paramname="count">The maximum number of bytes to read from this stream.</param>
3664
+
<paramname="cancellationToken">The token to monitor for cancellation requests.</param>
3665
+
<summary>Asynchronously reads data from this stream and stores it in the specified range of a byte array.</summary>
3666
+
<returns>A task that represents the asynchronous read operation. The value of its <seecref="P:System.Threading.Tasks.Task`1.Result" /> property contains the total number of bytes read into <paramrefname="buffer" />. When there is no more data to be read, returns 0.</returns>
3667
+
<remarks>
3668
+
<formattype="text/markdown"><![CDATA[
3669
+
3670
+
## Remarks
3671
+
The method reads a maximum of `count` bytes from the stream and stores them in `buffer` beginning at `offset`.
3672
+
3673
+
You cannot perform multiple simultaneous read operations.
3674
+
3675
+
You cannot call this method until you have successfully authenticated.
3676
+
3677
+
]]></format>
3678
+
</remarks>
3679
+
<exceptioncref="T:System.ArgumentNullException"><paramrefname="buffer" /> is <seelangword="null" />.</exception>
3680
+
<exceptioncref="T:System.ArgumentOutOfRangeException"><paramrefname="offset" /> is less than 0.
3681
+
3682
+
-or-
3683
+
3684
+
<paramrefname="count" /> is less than 0.
3685
+
3686
+
-or-
3687
+
3688
+
<paramrefname="count" /> is greater than the length of <paramrefname="buffer" /> minus <paramrefname="offset" />.</exception>
3689
+
<exceptioncref="T:System.InvalidOperationException">Authentication has not occurred.</exception>
3690
+
<exceptioncref="T:System.IO.IOException">The read operation failed. Check the inner exception, if it is present, to determine the cause of the failure.</exception>
3691
+
<exceptioncref="T:System.NotSupportedException">There is already a read operation in progress.</exception>
3692
+
<exceptioncref="T:System.ObjectDisposedException">This object has been closed.</exception>
3641
3693
</Docs>
3642
3694
</Member>
3643
3695
<MemberMemberName="ReadByte">
@@ -3663,9 +3715,22 @@ Authentication has not occurred.</exception>
3663
3715
</ReturnValue>
3664
3716
<Parameters />
3665
3717
<Docs>
3666
-
<summary>To be added.</summary>
3667
-
<returns>To be added.</returns>
3668
-
<remarks>To be added.</remarks>
3718
+
<summary>Reads a byte from the <seecref="T:System.Net.Security.SslStream" /> and advances the position within the stream by one byte, or returns -1 if at the end of the stream.</summary>
3719
+
<returns>The unsigned byte cast to an <seelangword="Int32"/>, or -1 if at the end of the stream.</returns>
3720
+
<remarks>
3721
+
<formattype="text/markdown"><![CDATA[
3722
+
3723
+
## Remarks
3724
+
You cannot perform multiple simultaneous read operations.
3725
+
3726
+
You cannot call this method until you have successfully authenticated.
3727
+
3728
+
]]></format>
3729
+
</remarks>
3730
+
<exceptioncref="T:System.InvalidOperationException">Authentication has not occurred.</exception>
3731
+
<exceptioncref="T:System.IO.IOException">The read operation failed. Check the inner exception, if present to determine the cause of the failure.</exception>
3732
+
<exceptioncref="T:System.NotSupportedException">There is already a read operation in progress.</exception>
3733
+
<exceptioncref="T:System.ObjectDisposedException">This object has been closed.</exception>
3669
3734
</Docs>
3670
3735
</Member>
3671
3736
<MemberMemberName="ReadTimeout">
@@ -4161,11 +4226,24 @@ Authentication has not occurred.</exception>
0 commit comments