WebSocketServerRemoveSessionTopic 方法 |
从指定的WebSocket会话中移除指定的主题。
Removes the specified topic from the given WebSocket session.
命名空间:
HslCommunication.WebSocket
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.9.1.0 (12.9.1.0)
语法public bool RemoveSessionTopic(
WebSocketSession session,
string topic
)
Public Function RemoveSessionTopic (
session As WebSocketSession,
topic As String
) As Boolean
public:
bool RemoveSessionTopic(
WebSocketSession^ session,
String^ topic
)
member RemoveSessionTopic :
session : WebSocketSession *
topic : string -> bool
参数
- session
- 类型:HslCommunication.WebSocketWebSocketSession
会话内容 - topic
- 类型:SystemString
主题信息
返回值
类型:
Boolean[缺少 "M:HslCommunication.WebSocket.WebSocketServer.RemoveSessionTopic(HslCommunication.WebSocket.WebSocketSession,System.String)" 的 <returns> 文档]
参见