EntityCommandCompilationException, classe
[Cette page concerne Entity Framework version 6. La dernière version est disponible sous le nom de package 'Entity Framework' NuGet. Pour plus d'informations sur Entity Framework, consultez msdn.com/data/ef.]
Représente un échec lors de la préparation ou de l'exécution d'un CommandCompilation. Cette exception est conçue pour fournir une exception commune que les utilisateurs peuvent intercepter pour gérer les exceptions du fournisseur (SqlException, OracleException) lors de l'utilisation de l'EntityCommand pour exécuter les instructions.
Hiérarchie d'héritage
System.Object
System.Exception
System.SystemException
System.Data.DataException
System.Data.Entity.Core.EntityException
System.Data.Entity.Core.EntityCommandCompilationException
Espace de noms : System.Data.Entity.Core
Assembly : EntityFramework (dans EntityFramework.dll)
Syntaxe
'Déclaration
<SerializableAttribute> _
Public NotInheritable Class EntityCommandCompilationException _
Inherits EntityException
'Utilisation
Dim instance As EntityCommandCompilationException
[SerializableAttribute]
public sealed class EntityCommandCompilationException : EntityException
[SerializableAttribute]
public ref class EntityCommandCompilationException sealed : public EntityException
[<SealedAttribute>]
[<SerializableAttribute>]
type EntityCommandCompilationException =
class
inherit EntityException
end
public final class EntityCommandCompilationException extends EntityException
Le type EntityCommandCompilationException expose les membres suivants.
Constructeurs
Nom | Description | |
---|---|---|
![]() |
EntityCommandCompilationException() | Initialise une nouvelle instance de la classe EntityCommandCompilationException, sans message ni exception interne.N'existe probablement pas, mais convient à FxCop. |
![]() |
EntityCommandCompilationException(String) | Initialise une nouvelle instance de la classe EntityCommandCompilationException, avec message, sans exception interne.N'existe probablement pas, mais convient à FxCop. |
![]() |
EntityCommandCompilationException(String, Exception) | Initialise une nouvelle instance de la classe EntityCommandCompilationException, avec message et une instance d'exception interne. |
Top
Propriétés
Nom | Description | |
---|---|---|
![]() |
Data | (Hérité de Exception.) |
![]() |
HelpLink | (Hérité de Exception.) |
![]() |
HResult | (Hérité de Exception.) |
![]() |
InnerException | (Hérité de Exception.) |
![]() |
Message | (Hérité de Exception.) |
![]() |
Source | (Hérité de Exception.) |
![]() |
StackTrace | (Hérité de Exception.) |
![]() |
TargetSite | (Hérité de Exception.) |
Top
Méthodes
Nom | Description | |
---|---|---|
![]() |
Equals | (Hérité de Object.) |
![]() |
GetBaseException | (Hérité de Exception.) |
![]() |
GetHashCode | (Hérité de Object.) |
![]() |
GetObjectData | Essentiel pour la sécurité. (Hérité de Exception.) |
![]() |
GetType | (Hérité de Exception.) |
![]() |
ToString | (Hérité de Exception.) |
Top
Sécurité des threads
Tous les membres static (Shared en Visual Basic) publics de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.