OptimisticConcurrencyException Constructor
Initializes a new instance of the OptimisticConcurrencyException class.
Assembly: EntityFramework (in EntityFramework.dll)
Name | Description | |
---|---|---|
![]() | OptimisticConcurrencyException() | Initializes a new instance of the OptimisticConcurrencyException class using default values. |
![]() | OptimisticConcurrencyException(String) | Initializes a new instance of the OptimisticConcurrencyException class with specified message. |
![]() | OptimisticConcurrencyException(String, Exception) | Initializes a new instance of the OptimisticConcurrencyException class with specified message and inner exception. |
![]() | OptimisticConcurrencyException(String, Exception, IEnumerable<ObjectStateEntry>) | Initializes a new instance of the OptimisticConcurrencyException class with specified message and inner exception. |
OptimisticConcurrencyException Constructor ()
Initializes a new instance of the OptimisticConcurrencyException class using default values.
OptimisticConcurrencyException Constructor (String)
Initializes a new instance of the OptimisticConcurrencyException class with specified message.
Parameters
- message
-
Type:
System.String
The message associated with the exception.
OptimisticConcurrencyException Constructor (String, Exception)
Initializes a new instance of the OptimisticConcurrencyException class with specified message and inner exception.
Parameters
- message
-
Type:
System.String
The message associated with the exception.
- innerException
-
Type:
System.Exception
The error that caused the exception.
OptimisticConcurrencyException Constructor (String, Exception, IEnumerable<ObjectStateEntry>)
Initializes a new instance of the OptimisticConcurrencyException class with specified message and inner exception.
public OptimisticConcurrencyException( string message, Exception innerException, IEnumerable<ObjectStateEntry> stateEntries )
Parameters
- message
-
Type:
System.String
The message.
- innerException
-
Type:
System.Exception
The error that caused the exception.
- stateEntries
-
Type:
System.Collections.Generic.IEnumerable<ObjectStateEntry>
The state entries.