点击或拖拽改变大小

HslTimeOut 方法

HslTimeOut 类型公开以下成员。

方法
  名称说明
公共方法Equals
Determines whether the specified object is equal to the current object.
(继承自 Object。)
受保护的方法Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(继承自 Object。)
公共方法GetConsumeTime
获取到目前为止所花费的时间
Get the time spent so far
公共方法GetHashCode
Serves as the default hash function.
(继承自 Object。)
公共方法静态成员GetHslTimeOutsSnapShoot
获取当前的所有的等待超时检查对象列表,请勿手动更改对象的属性值
Get the current list of all waiting timeout check objects, do not manually change the property value of the object
公共方法GetType
Gets the Type of the current instance.
(继承自 Object。)
公共方法静态成员HandleTimeOutCheck(HslTimeOut)
新增一个超时检测的对象,当操作完成的时候,需要自行标记HslTimeOut对象的IsSuccessfulTrue
Add a new object for timeout detection. When the operation is completed, you need to mark the IsSuccessful of the HslTimeOut object as True
公共方法静态成员HandleTimeOutCheck(Socket, Int32)
新增一个超时检测的对象,需要指定socket,超时时间,返回HslTimeOut对象,用作标记完成信息
Add a new object for timeout detection, you need to specify the socket, the timeout period, and return the HslTimeOut object for marking completion information
受保护的方法MemberwiseClone
Creates a shallow copy of the current Object.
(继承自 Object。)
公共方法ToString
Returns a string that represents the current object.
(重写 ObjectToString.)
Top
扩展方法
  名称说明
公共扩展器方法ToJsonString
获取当前对象的JSON格式表示的字符串。
Gets the string represented by the JSON format of the current object.
(由 HslExtension 定义。)
Top
参见