点击或拖拽改变大小

CommunicationLockNoneEnterLock 方法

进入锁操作,指定超时时间,单位毫秒,并返回是否成功获得锁的标记。
Enters the lock operation, specifies the timeout period in milliseconds, and returns a flag as to whether the lock was successfully obtained.

命名空间:  HslCommunication.Core
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:12.1.0.0 (12.1.0.0)
语法
public virtual OperateResult EnterLock(
	int timeout
)

参数

timeout
类型:SystemInt32
超时时间

返回值

类型:OperateResult
是否成功的获得锁

实现

ICommunicationLockEnterLock(Int32)
参见