DbUpdateException DbUpdateException Class

Definition

An exception that is thrown when an error is encountered while saving to the database.

public class DbUpdateException : Exception, ISerializable, _Exception
Public Class DbUpdateException
    Inherits Exception
    Implements ISerializable, _Exception
Inheritance
System.ObjectSystem.Object
System.ExceptionSystem.Exception
DbUpdateExceptionDbUpdateException
Implements
System.Runtime.Serialization.ISerializableSystem.Runtime.Serialization.ISerializable System.Runtime.InteropServices._ExceptionSystem.Runtime.InteropServices._Exception

Constructors

DbUpdateException(String, Exception) DbUpdateException(String, Exception)

Initializes a new instance of the DbUpdateException class.

DbUpdateException(String, Exception, IReadOnlyList<IUpdateEntry>) DbUpdateException(String, Exception, IReadOnlyList(Of IUpdateEntry))

Initializes a new instance of the DbUpdateException class.

DbUpdateException(String, IReadOnlyList<IUpdateEntry>) DbUpdateException(String, IReadOnlyList(Of IUpdateEntry))

Initializes a new instance of the DbUpdateException class.

Properties

Entries Entries

Gets the entries that were involved in the error. Typically this is a single entry, but in some cases it may be zero or multiple entries.

Methods

System.Exception.Data System.Exception.Data Inherited from System.Exception
System.Object.Equals(System.Object) System.Object.Equals(System.Object) Inherited from System.Object
System.Object.Equals(System.Object, System.Object) System.Object.Equals(System.Object, System.Object) Inherited from System.Object
System.Exception.GetBaseException() System.Exception.GetBaseException() Inherited from System.Exception
System.Object.GetHashCode() System.Object.GetHashCode() Inherited from System.Object
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext) System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext) Inherited from System.Exception
System.Exception.GetType() System.Exception.GetType() Inherited from System.Exception
System.Exception.HelpLink System.Exception.HelpLink Inherited from System.Exception
System.Exception.HResult System.Exception.HResult Inherited from System.Exception
System.Exception.InnerException System.Exception.InnerException Inherited from System.Exception
System.Object.MemberwiseClone() System.Object.MemberwiseClone() Inherited from System.Object
System.Exception.Message System.Exception.Message Inherited from System.Exception
System.Object.ReferenceEquals(System.Object, System.Object) System.Object.ReferenceEquals(System.Object, System.Object) Inherited from System.Object
System.Exception.SerializeObjectState System.Exception.SerializeObjectState Inherited from System.Exception
System.Exception.Source System.Exception.Source Inherited from System.Exception
System.Exception.StackTrace System.Exception.StackTrace Inherited from System.Exception
System.Exception.TargetSite System.Exception.TargetSite Inherited from System.Exception
System.Exception.ToString() System.Exception.ToString() Inherited from System.Exception