Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
WebSocketMessageType Enumeration

WebSocketMessageType Enumeration

.NET Framework 4.6 and 4.5

Indicates the message type.

Namespace:  System.Net.WebSockets
Assembly:  System (in System.dll)

public enum WebSocketMessageType

Member nameDescription
BinaryThe message is in binary format.
CloseA receive has completed because a close message was received.
TextThe message is clear text.

.NET Framework

Supported in: 4.6, 4.5
© 2015 Microsoft