UpdateException Constructor
Initializes a new instance of the UpdateException class.
Assembly: EntityFramework (in EntityFramework.dll)
Name | Description | |
---|---|---|
![]() | UpdateException() | Initializes a new instance of the UpdateException class with default values. |
![]() | UpdateException(SerializationInfo, StreamingContext) | Initializes a new instance of the UpdateException class with serialized data. |
![]() | UpdateException(String) | Initializes a new instance of the UpdateException class with error message. |
![]() | UpdateException(String, Exception) | Initializes a new instance of the UpdateException class with an error message and an inner exception. |
![]() | UpdateException(String, Exception, IEnumerable<ObjectStateEntry>) | Initializes a new instance of the UpdateException class with an error message, an inner exception, and state entries. |
UpdateException Constructor ()
Initializes a new instance of the UpdateException class with default values.
UpdateException Constructor (SerializationInfo, StreamingContext)
Initializes a new instance of the UpdateException class with serialized data.
Parameters
- info
-
Type:
System.Runtime.Serialization.SerializationInfo
The object that holds the serialized information about the exception.
- context
-
Type:
System.Runtime.Serialization.StreamingContext
The contextual information about the source or destination.
UpdateException Constructor (String)
Initializes a new instance of the UpdateException class with error message.
Parameters
- message
-
Type:
System.String
The error message that describes the exception.
UpdateException Constructor (String, Exception)
Initializes a new instance of the UpdateException class with an error message and an inner exception.
Parameters
- message
-
Type:
System.String
The error message that describes the exception.
- innerException
-
Type:
System.Exception
The inner exception that is the cause of the current exception.
UpdateException Constructor (String, Exception, IEnumerable<ObjectStateEntry>)
Initializes a new instance of the UpdateException class with an error message, an inner exception, and state entries.
public UpdateException( string message, Exception innerException, IEnumerable<ObjectStateEntry> stateEntries )
Parameters
- message
-
Type:
System.String
The error message that describes the exception.
- innerException
-
Type:
System.Exception
The inner exception that is the cause of the current exception.
- stateEntries
-
Type:
System.Collections.Generic.IEnumerable<ObjectStateEntry>
The state entries implicated in the error.