System.Data Namespace


.NET Framework Class Library
DBConcurrencyException Class

The exception that is thrown by the DataAdapter during an insert, update, or delete operation if the number of rows affected equals zero.

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

Visual Basic (Declaration)
<SerializableAttribute> _
Public NotInheritable Class DBConcurrencyException _
    Inherits SystemException
Visual Basic (Usage)
Dim instance As DBConcurrencyException
C#
[SerializableAttribute]
public sealed class DBConcurrencyException : SystemException
Visual C++
[SerializableAttribute]
public ref class DBConcurrencyException sealed : public SystemException
JScript
public final class DBConcurrencyException extends SystemException
Remarks

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 exception is generally caused by a concurrency violation.

Inheritance Hierarchy

System..::.Object
  System..::.Exception
    System..::.SystemException
      System.Data..::.DBConcurrencyException
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.
Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98, Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC, Xbox 360, Zune

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information

.NET Framework

Supported in: 3.5, 3.0, 2.0, 1.1, 1.0

.NET Compact Framework

Supported in: 3.5, 2.0, 1.0

XNA Framework

Supported in: 3.0, 2.0, 1.0
See Also

Reference

Other Resources

Tags :


Page view tracker