Skip to content

Commit 239365d

Browse files
nemrismRon Petrusha
authored andcommitted
Update WebSocket.ReceiveAsync return value description (#3140)
1 parent cedc8d7 commit 239365d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xml/System.Net.WebSockets/WebSocket.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -644,7 +644,7 @@
644644
<param name="buffer">References the application buffer that is the storage location for the received data.</param>
645645
<param name="cancellationToken">Propagates the notification that operations should be canceled.</param>
646646
<summary>Receives data from the <see cref="T:System.Net.WebSockets.WebSocket" /> connection asynchronously.</summary>
647-
<returns>The task object representing the asynchronous operation. The <see cref="P:System.Threading.Tasks.Task`1.Result" /> property on the task object returns a <see cref="T:System.Byte" /> array containing the received data.</returns>
647+
<returns>The task object representing the asynchronous operation. The <see cref="P:System.Threading.Tasks.Task`1.Result" /> property on the task object returns a <see cref="T:System.Net.WebSockets.WebSocketReceiveResult" /> object that represents the received data.</returns>
648648
<remarks>
649649
<format type="text/markdown"><![CDATA[
650650

0 commit comments

Comments
 (0)