EntityException Constructor
Initializes a new instance of the EntityException class.
Assembly: EntityFramework (in EntityFramework.dll)
Name | Description | |
---|---|---|
![]() | EntityException() | Initializes a new instance of the EntityException class with default values. |
![]() | EntityException(SerializationInfo, StreamingContext) | Initializes a new instance of the EntityException class. |
![]() | EntityException(String) | Initializes a new instance of the EntityException class that accepts a pre-formatted message. |
![]() | EntityException(String, Exception) | Initializes a new instance of the EntityException class that accepts a pre-formatted message and an inner exception. |
EntityException Constructor ()
Initializes a new instance of the EntityException class with default values.
EntityException Constructor (SerializationInfo, StreamingContext)
Initializes a new instance of the EntityException class.
Parameters
- info
-
Type:
System.Runtime.Serialization.SerializationInfo
The serialization info.
- context
-
Type:
System.Runtime.Serialization.StreamingContext
The streaming context.
EntityException Constructor (String)
Initializes a new instance of the EntityException class that accepts a pre-formatted message.
Parameters
- message
-
Type:
System.String
Localized error message.
EntityException Constructor (String, Exception)
Initializes a new instance of the EntityException class that accepts a pre-formatted message and an inner exception.
Parameters
- message
-
Type:
System.String
Localized error message.
- innerException
-
Type:
System.Exception
Inner exception.