点击或拖拽改变大小

SessionContext 类

连接会话信息的上下文,主要是对账户信息的验证
The context of the connection session information, mainly the verification of account information
继承层次
SystemObject
  HslCommunication.CoreSessionContext

命名空间:  HslCommunication.Core
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:11.8.2.0 (11.8.2.0)
语法
public class SessionContext : ISessionContext

SessionContext 类型公开以下成员。

构造函数
  名称说明
公共方法SessionContext
初始化 SessionContext 类的一个新实例
Top
属性
  名称说明
公共属性ClientId
当前的会话的ID信息
ID information of the current session
公共属性Tag
当前的会话信息关联的自定义信息
Custom information associated with the current session information
公共属性UserName
当前的用户名信息
current username information
Top
方法
  名称说明
公共方法Equals (继承自 Object。)
受保护的方法Finalize (继承自 Object。)
公共方法GetHashCode (继承自 Object。)
公共方法GetType (继承自 Object。)
受保护的方法MemberwiseClone (继承自 Object。)
公共方法ToString (继承自 Object。)
Top
扩展方法
  名称说明
公共扩展器方法ToJsonString
获取当前对象的JSON格式表示的字符串。
Gets the string represented by the JSON format of the current object.
(由 HslExtension 定义。)
Top
参见