CrossThreadLockingException Constructor(String,Int32,Int32)
- Last UpdatedApr 08, 2026
- 1 minute read
Constructor that creates a message based on the tableName, and the different thread IDs that attempted to lock and unlock it.
public CrossThreadLockingException(
string tableName,
int lockingThreadID,
int unlockingThreadID
)
public:
CrossThreadLockingException(
String^ tableName,
int lockingThreadID,
int unlockingThreadID
)
Parameters
- tableName
- The name of the table.
- lockingThreadID
- The thread ID that locked the table.
- unlockingThreadID
- The thread ID that unlocked the table.