CommunicationLockSimple 类 |
命名空间: HslCommunication.Core
CommunicationLockSimple 类型公开以下成员。
名称 | 说明 | |
---|---|---|
![]() | CommunicationLockSimple | 初始化 CommunicationLockSimple 类的一个新实例 |
名称 | 说明 | |
---|---|---|
![]() | IsWaitting |
获取当前锁是否在等待当中 Gets whether the current lock is waiting |
名称 | 说明 | |
---|---|---|
![]() | Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (继承自 CommunicationLockNone。) |
![]() | Dispose(Boolean) | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (重写 CommunicationLockNoneDispose(Boolean).) |
![]() | EnterLock |
进入锁操作,指定超时时间,单位毫秒,并返回是否成功获得锁的标记。 (重写 CommunicationLockNoneEnterLock(Int32).)Enters the lock operation, specifies the timeout period in milliseconds, and returns a flag as to whether the lock was successfully obtained. |
![]() | 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。) |
![]() | GetHashCode | Serves as the default hash function. (继承自 Object。) |
![]() | GetType | Gets the Type of the current instance. (继承自 Object。) |
![]() | LeaveLock |
离开锁操作 (重写 CommunicationLockNoneLeaveLock.)Lockaway operation |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (继承自 Object。) |
![]() | ToString | Returns a string that represents the current object. (重写 ObjectToString.) |
名称 | 说明 | |
---|---|---|
![]() | ToJsonString |
获取当前对象的JSON格式表示的字符串。 (由 HslExtension 定义。)Gets the string represented by the JSON format of the current object. |