用于通信的锁的接口对象,定义了进入锁和离开锁的方法接口信息
An interface object for a lock used for communication that defines interface information for the methods used to enter and exit the lock
命名空间:
HslCommunication.Core
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.5.3.0 (12.5.3.0)
语法public interface ICommunicationLock : IDisposable
Public Interface ICommunicationLock
Inherits IDisposable
public interface class ICommunicationLock : IDisposable
type ICommunicationLock =
interface
interface IDisposable
endICommunicationLock 类型公开以下成员。
方法|
| 名称 | 说明 |
|---|
 | Dispose | (继承自 IDisposable。) |
 | EnterLock |
进入锁操作,指定超时时间,单位毫秒,并返回是否成功获得锁的标记。
Enters the lock operation, specifies the timeout period in milliseconds, and returns a flag as to whether the lock was successfully obtained.
|
 | LeaveLock |
离开锁操作
Lockaway operation
|
Top
参见