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
<paramname="cancellationToken">To be added.</param>
478
-
<summary>To be added.</summary>
479
-
<returns>To be added.</returns>
480
-
<remarks>To be added.</remarks>
478
+
<paramname="buffer">The region of memory to receive the response.</param>
479
+
<paramname="cancellationToken">A cancellation token used to propagate notification that this operation should be canceled.</param>
480
+
<summary>Receives data on <seecref="T:System.Net.WebSockets.ClientWebSocket" /> to a byte memory range as an asynchronous operation.</summary>
481
+
<returns>The task object representing the asynchronous operation.</returns>
482
+
<remarks>
483
+
<formattype="text/markdown"><![CDATA[
484
+
485
+
## Remarks
486
+
This operation will not block. The returned <xref:System.Threading.Tasks.Task%601> object will complete after the receive request on the <xref:System.Net.WebSockets.ClientWebSocket> instance has completed.
487
+
488
+
Exactly one send and one receive is supported on each <xref:System.Net.WebSockets.ClientWebSocket> object in parallel.
489
+
490
+
]]></format>
491
+
</remarks>
492
+
<exceptioncref="T:System.InvalidOperationException">The <seecref="T:System.Net.WebSockets.ClientWebSocket" /> is not connected.</exception>
493
+
<exceptioncref="T:System.ObjectDisposedException">The <seecref="T:System.Net.WebSockets.ClientWebSocket" /> has been closed.</exception>
481
494
</Docs>
482
495
</Member>
483
496
<MemberMemberName="SendAsync">
@@ -514,21 +527,24 @@
514
527
</Parameters>
515
528
<Docs>
516
529
<paramname="buffer">The buffer containing the message to be sent.</param>
517
-
<paramname="messageType">Specifies whether the buffer is clear text or in a binary format.</param>
518
-
<paramname="endOfMessage">Specifies whether this is the final asynchronous send. Set to <seelangword="true" /> if this is the final send; <seelangword="false" /> otherwise.</param>
519
-
<paramname="cancellationToken">A cancellation token used to propagate notification that this operation should be canceled.</param>
520
-
<summary>Send data on <seecref="T:System.Net.WebSockets.ClientWebSocket" /> as an asynchronous operation.</summary>
530
+
<paramname="messageType">One of the enumeration values that specifies whether the buffer is clear text or in a binary format.</param>
531
+
<paramname="endOfMessage"><seelangword="true" /> to indicate this is the final asynchronous send; otherwise, <seelangword="false" />.</param>
532
+
<paramname="cancellationToken">A cancellation token used to propagate notification that this operation should be canceled.</param>
533
+
<summary>Sends data on <seecref="T:System.Net.WebSockets.ClientWebSocket" /> as an asynchronous operation.</summary>
521
534
<returns>The task object representing the asynchronous operation.</returns>
522
535
<remarks>
523
536
<formattype="text/markdown"><![CDATA[
524
537
525
-
## Remarks
538
+
## Remarks
539
+
526
540
This operation will not block. The returned <xref:System.Threading.Tasks.Task> object will complete after the send request on the <xref:System.Net.WebSockets.ClientWebSocket> instance has completed.
527
541
528
542
Exactly one send and one receive is supported on each <xref:System.Net.WebSockets.ClientWebSocket> object in parallel.
529
543
530
544
]]></format>
531
545
</remarks>
546
+
<exceptioncref="T:System.InvalidOperationException">The <seecref="T:System.Net.WebSockets.ClientWebSocket" /> is not connected.</exception>
547
+
<exceptioncref="T:System.ObjectDisposedException">The <seecref="T:System.Net.WebSockets.ClientWebSocket" /> has been closed.</exception>
<paramname="cancellationToken">To be added.</param>
565
-
<summary>To be added.</summary>
566
-
<returns>To be added.</returns>
567
-
<remarks>To be added.</remarks>
577
+
<paramname="buffer">The region of memory containing the message to be sent.</param>
578
+
<paramname="messageType">One of the enumeration values that specifies whether the buffer is clear text or in a binary format.</param>
579
+
<paramname="endOfMessage"><seelangword="true" /> to indicate this is the final asynchronous send; otherwise, <seelangword="false" />.</param>
580
+
<paramname="cancellationToken">A cancellation token used to propagate notification that this operation should be canceled.</param>
581
+
<summary>Sends data on <seecref="T:System.Net.WebSockets.ClientWebSocket" /> from a read-only byte memory range as an asynchronous operation.</summary>
582
+
<returns>The task object representing the asynchronous operation.</returns>
583
+
<remarks>
584
+
<formattype="text/markdown"><![CDATA[
585
+
586
+
## Remarks
587
+
588
+
This operation will not block. The returned <xref:System.Threading.Tasks.Task> object will complete after the send request on the <xref:System.Net.WebSockets.ClientWebSocket> instance has completed.
589
+
590
+
Exactly one send and one receive is supported on each <xref:System.Net.WebSockets.ClientWebSocket> object in parallel.
591
+
592
+
]]></format>
593
+
</remarks>
594
+
<exceptioncref="T:System.InvalidOperationException">The <seecref="T:System.Net.WebSockets.ClientWebSocket" /> is not connected.</exception>
595
+
<exceptioncref="T:System.ObjectDisposedException">The <seecref="T:System.Net.WebSockets.ClientWebSocket" /> has been closed.</exception>
0 commit comments