WebSocketReceiveResult.Count Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Indicates the number of bytes that the WebSocket received.
public:
property int Count { int get(); };
public int Count { get; }
member this.Count : int
Public ReadOnly Property Count As Integer
Property Value
Returns Int32.
Remarks
Count can be 0 in two cases:
The WebSocket received an empty message. In this case the CloseStatus property is None.
The WebSocket received a close message from the remote endpoint. In this case, the CloseStatus property is set to a value other than None.
Applies to
Samarbejd med os på GitHub
Kilden til dette indhold kan findes på GitHub, hvor du også kan oprette og gennemse problemer og pullanmodninger. Du kan få flere oplysninger i vores vejledning til bidragydere.