This documentation is archived and is not being maintained.

DBConcurrencyException Class

The exception that is thrown by the DataAdapter during the update operation if the number of rows affected equals zero.

For a list of all members of this type, see DBConcurrencyException Members.


[Visual Basic]
NotInheritable Public Class DBConcurrencyException
   Inherits SystemException
public sealed class DBConcurrencyException : SystemException
public __gc __sealed class DBConcurrencyException : public
class DBConcurrencyException extends SystemException

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


The DataAdapter examines the number of rows affected by the execution of each insert, update, or delete operation, and throws this exception if the number equals zero. This is usually the result of a concurrency violation.


Namespace: System.Data

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

Assembly: System.Data (in System.Data.dll)

See Also

DBConcurrencyException Members | System.Data Namespace