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/NegotiateStream.xml
+1-24Lines changed: 1 addition & 24 deletions
Original file line number
Diff line number
Diff line change
@@ -211,8 +211,6 @@ The following code example demonstrates the server side of a client-server conne
211
211
## Remarks
212
212
When you specify `true` for the `leaveStreamOpen` parameter, closing the <xref:System.Net.Security.NegotiateStream> has no effect on the `innerStream` stream; you must explicitly close `innerStream` when you no longer need it.
213
213
214
-
215
-
216
214
## Examples
217
215
The following example demonstrates calling this constructor. This code example is part of a larger example provided for the <xref:System.Net.Security.NegotiateStream> class.
218
216
@@ -4370,7 +4368,7 @@ This method reads asynchronously as much data as is available into `buffer` and
4370
4368
<exceptioncref="T:System.ArgumentNullException">
4371
4369
<paramrefname="buffer" /> is <seelangword="null" />.</exception>
4372
4370
<exceptioncref="T:System.ArgumentException">
4373
-
<paramrefname="offsetis less than 0" />.
4371
+
<paramrefname="offset" /> is less than 0.
4374
4372
4375
4373
-or-
4376
4374
@@ -4388,25 +4386,6 @@ This method reads asynchronously as much data as is available into `buffer` and
4388
4386
<exceptioncref="T:System.InvalidOperationException">Authentication has not occurred.</exception>
4389
4387
<exceptioncref="T:System.OperationCanceledException">The cancellation token was canceled. This exception is stored into the returned task.</exception>
4390
4388
</Docs>
4391
-
<exceptioncref="T:System.ArgumentNullException">
4392
-
<paramrefname="buffer" /> is <seelangword="null" />.</exception>
4393
-
<exceptioncref="T:System.ArgumentException">
4394
-
<paramrefname="offset is less than 0" />.
4395
-
4396
-
-or-
4397
-
4398
-
<paramrefname="offset" /> is greater than the length of <paramrefname="buffer" />.
4399
-
4400
-
-or-
4401
-
4402
-
<paramrefname="offset" /> plus count is greater than the length of <paramrefname="buffer" />.</exception>
Encryption is in use, but the data could not be encrypted.</exception>
4408
-
<exceptioncref="T:System.ObjectDisposedException">This object has been closed.</exception>
4409
-
<exceptioncref="T:System.InvalidOperationException">Authentication has not occurred.</exception>
4410
4389
</Member>
4411
4390
<MemberMemberName="WriteTimeout">
4412
4391
<MemberSignatureLanguage="C#"Value="public override int WriteTimeout { get; set; }" />
@@ -4453,8 +4432,6 @@ This method reads asynchronously as much data as is available into `buffer` and
4453
4432
4454
4433
If the underlying stream is a <xref:System.Net.Sockets.NetworkStream>, <xref:System.Net.Security.NegotiateStream.WriteTimeout%2A> is in milliseconds and is set to <xref:System.Threading.Timeout.Infinite> by default so that write operations do not time out.
4455
4434
4456
-
4457
-
4458
4435
## Examples
4459
4436
The following code example demonstrates displaying the value of this property.
0 commit comments