Export (0) Print
Expand All

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.

System.Object
   System.Exception
      System.SystemException
         System.Data.DBConcurrencyException

[Visual Basic]
<Serializable>
NotInheritable Public Class DBConcurrencyException
   Inherits SystemException
[C#]
[Serializable]
public sealed class DBConcurrencyException : SystemException
[C++]
[Serializable]
public __gc __sealed class DBConcurrencyException : public
   SystemException
[JScript]
public
   Serializable
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.

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 is usually the result of a concurrency violation.

Requirements

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

Show:
© 2014 Microsoft