WebSocketMessageProperty 类
定义
表示 Web 套接字消息属性。Represents a web socket message property.
public ref class WebSocketMessageProperty sealed
public sealed class WebSocketMessageProperty
type WebSocketMessageProperty = class
Public NotInheritable Class WebSocketMessageProperty
- 继承
-
WebSocketMessageProperty
构造函数
| WebSocketMessageProperty() |
初始化 WebSocketMessageProperty 类的新实例。Initializes a new instance of the WebSocketMessageProperty class. |
字段
| Name |
指定消息属性名。Specifies the message property name. |
属性
| MessageType |
获取网络套接字消息类型。Gets the web socket message type. |
| OpeningHandshakeProperties |
获取打开握手属性的集合。Gets a collection of opening handshake properties. |
| SubProtocol |
获取或设置子协议消息。Gets or sets the sub protocol message. |
| WebSocketContext |
获取或设置 Web 套接上下文。Gets or sets the web socket context. |
方法
| Equals(Object) |
确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object. (继承自 Object) |
| GetHashCode() |
作为默认哈希函数。Serves as the default hash function. (继承自 Object) |
| GetType() |
获取当前实例的 Type。Gets the Type of the current instance. (继承自 Object) |
| MemberwiseClone() |
创建当前 Object 的浅表副本。Creates a shallow copy of the current Object. (继承自 Object) |
| ToString() |
返回表示当前对象的字符串。Returns a string that represents the current object. (继承自 Object) |