Skip to content

Commit 8e33fc8

Browse files
committed
de-dupe exceptions
1 parent 192a442 commit 8e33fc8

File tree

1 file changed

+1
-24
lines changed

1 file changed

+1
-24
lines changed

xml/System.Net.Security/NegotiateStream.xml

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -211,8 +211,6 @@ The following code example demonstrates the server side of a client-server conne
211211
## Remarks
212212
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.
213213
214-
215-
216214
## Examples
217215
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.
218216
@@ -4370,7 +4368,7 @@ This method reads asynchronously as much data as is available into `buffer` and
43704368
<exception cref="T:System.ArgumentNullException">
43714369
<paramref name="buffer" /> is <see langword="null" />.</exception>
43724370
<exception cref="T:System.ArgumentException">
4373-
<paramref name="offset is less than 0" />.
4371+
<paramref name="offset" /> is less than 0.
43744372

43754373
-or-
43764374

@@ -4388,25 +4386,6 @@ This method reads asynchronously as much data as is available into `buffer` and
43884386
<exception cref="T:System.InvalidOperationException">Authentication has not occurred.</exception>
43894387
<exception cref="T:System.OperationCanceledException">The cancellation token was canceled. This exception is stored into the returned task.</exception>
43904388
</Docs>
4391-
<exception cref="T:System.ArgumentNullException">
4392-
<paramref name="buffer" /> is <see langword="null" />.</exception>
4393-
<exception cref="T:System.ArgumentException">
4394-
<paramref name="offset is less than 0" />.
4395-
4396-
-or-
4397-
4398-
<paramref name="offset" /> is greater than the length of <paramref name="buffer" />.
4399-
4400-
-or-
4401-
4402-
<paramref name="offset" /> plus count is greater than the length of <paramref name="buffer" />.</exception>
4403-
<exception cref="T:System.IO.IOException">The write operation failed.
4404-
4405-
-or-
4406-
4407-
Encryption is in use, but the data could not be encrypted.</exception>
4408-
<exception cref="T:System.ObjectDisposedException">This object has been closed.</exception>
4409-
<exception cref="T:System.InvalidOperationException">Authentication has not occurred.</exception>
44104389
</Member>
44114390
<Member MemberName="WriteTimeout">
44124391
<MemberSignature Language="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
44534432
44544433
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.
44554434
4456-
4457-
44584435
## Examples
44594436
The following code example demonstrates displaying the value of this property.
44604437

0 commit comments

Comments
 (0)