EntityException Class

 

Provides exception used by the entity client.

Namespace:   System.Data.Entity.Core
Assembly:  EntityFramework (in EntityFramework.dll)

System.Object
  System.Exception
    System.SystemException
      System.Data.DataException
        System.Data.Entity.Core.EntityException
          System.Data.Entity.Core.EntityCommandCompilationException
          System.Data.Entity.Core.EntityCommandExecutionException
          System.Data.Entity.Core.EntitySqlException
          System.Data.Entity.Core.MappingException
          System.Data.Entity.Core.MetadataException
          System.Data.Entity.Core.ProviderIncompatibleException
          System.Data.Entity.Infrastructure.RetryLimitExceededException

[SerializableAttribute]
public class EntityException : DataException

NameDescription
System_CAPS_pubmethodEntityException()

Initializes a new instance of the EntityException class with default values.

System_CAPS_protmethodEntityException(SerializationInfo, StreamingContext)

Initializes a new instance of the EntityException class.

System_CAPS_pubmethodEntityException(String)

Initializes a new instance of the EntityException class that accepts a pre-formatted message.

System_CAPS_pubmethodEntityException(String, Exception)

Initializes a new instance of the EntityException class that accepts a pre-formatted message and an inner exception.

NameDescription
System_CAPS_pubpropertyData

(Inherited from Exception.)

System_CAPS_pubpropertyHelpLink

(Inherited from Exception.)

System_CAPS_pubpropertyHResult

(Inherited from Exception.)

System_CAPS_pubpropertyInnerException

(Inherited from Exception.)

System_CAPS_pubpropertyMessage

(Inherited from Exception.)

System_CAPS_pubpropertySource

(Inherited from Exception.)

System_CAPS_pubpropertyStackTrace

(Inherited from Exception.)

System_CAPS_pubpropertyTargetSite

(Inherited from Exception.)

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetBaseException()

(Inherited from Exception.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetObjectData(SerializationInfo, StreamingContext)

(Inherited from Exception.)

System_CAPS_pubmethodGetType()

(Inherited from Exception.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Exception.)

NameDescription
System_CAPS_proteventSerializeObjectState

(Inherited from Exception.)

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