点击或拖拽改变大小

PipeBase 类

管道的基础类对象
继承层次
SystemObject
  HslCommunication.Core.PipePipeBase
    HslCommunication.Core.PipePipeSerial
    HslCommunication.Core.PipePipeSocket

命名空间:  HslCommunication.Core.Pipe
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:12.0.0.0 (12.0.0.0)
语法
public class PipeBase : IDisposable

PipeBase 类型公开以下成员。

构造函数
  名称说明
公共方法PipeBase
实例化一个默认的对象
Top
属性
  名称说明
公共属性LockingTick
获取当前进入等待锁的数量
Gets the number of pending locks currently entered
Top
方法
  名称说明
公共方法Dispose
释放被 PipeBase 使用的所有资源
公共方法Equals (继承自 Object。)
受保护的方法Finalize (继承自 Object。)
公共方法GetHashCode (继承自 Object。)
公共方法GetType (继承自 Object。)
受保护的方法MemberwiseClone (继承自 Object。)
公共方法PipeLockEnter
获取锁,可以指定获取锁的超时时间,如果指定的时间没有获取锁,则返回False,反之,返回True
To acquire a lock, you can specify the timeout period for acquiring a lock, return False if the specified time does not acquire a lock, and vice versa, return True
公共方法PipeLockLeave
离开锁
Leave the lock
公共方法ToString (继承自 Object。)
Top
扩展方法
  名称说明
公共扩展器方法ToJsonString
获取当前对象的JSON格式表示的字符串。
Gets the string represented by the JSON format of the current object.
(由 HslExtension 定义。)
Top
参见