Click or drag to resize
LockContention Enumeration
Defines waiting options that may be used with row locking options.

Namespace:  MySql.Data.MySqlClient
Assembly:  MySql.Data (in MySql.Data.dll) Version: 8.0.21
Syntax
public enum LockContention
Members
  Member nameValueDescription
Default0 Waits until the blocking transaction releases the row lock.
NoWait1 Never waits to acquire a row lock. The query executes immediately, failing with an error if a requested row is locked.
SkipLocked2 Never waits to acquire a row lock. The query executes immediately, removing locked rows from the result set.
See Also