HslTimeOut 属性 |
HslTimeOut 类型公开以下成员。
名称 | 说明 | |
---|---|---|
DelayTime |
延时的时间,单位毫秒 Delay time, in milliseconds | |
IsSuccessful |
操作是否成功,当操作完成的时候,需要设置为True,超时检测自动结束。如果一直为False,超时检测到超时,设置IsTimeout为True Whether the operation is successful, when the operation is completed, it needs to be set to True, and the timeout detection will automatically end. If it is always False, the timeout is detected by the timeout, set IsTimeout to True | |
IsTimeout | ||
StartTime |
操作的开始时间 Start time of operation | |
TimeOutCheckCount |
获取当前检查超时对象的个数 Get the number of current check timeout objects | |
TimeoutLogNet |
获取或设置当前的超时线程的状态日志信息,只要实例化,即可记录当前的超时日志运行信息 Obtain or set the status log information of the current timeout thread, and record the current timeout log operation information as long as it is instantiated | |
UniqueId |
当前超时对象的唯一ID信息,没实例化一个对象,id信息就会自增1 The unique ID information of the current timeout object. If an object is not instantiated, the id information will increase by 1 | |
WorkSocket |
连接超时用的Socket,本超时对象主要针对套接字的连接,接收数据的超时检测,也可以设置为空,用作其他用途的超时检测。 Socket used for connection timeout. This timeout object is mainly for socket connection and timeout detection of received data. It can also be set to empty for other purposes. |