Прочетете на английски Редактиране

Споделяне чрез


ValueWebSocketReceiveResult.MessageType Property

Definition

Gets the type of the current message.

C#
public System.Net.WebSockets.WebSocketMessageType MessageType { get; }

Property Value

One of the enumeration values that specifies if the current message is a UTF-8, binary, or close message.

Applies to

Продукт Версии
.NET Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Standard 2.1