UpdateException Constructor

 

Initializes a new instance of the UpdateException class.

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

NameDescription
System_CAPS_pubmethodUpdateException()

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

System_CAPS_protmethodUpdateException(SerializationInfo, StreamingContext)

Initializes a new instance of the UpdateException class with serialized data.

System_CAPS_pubmethodUpdateException(String)

Initializes a new instance of the UpdateException class with error message.

System_CAPS_pubmethodUpdateException(String, Exception)

Initializes a new instance of the UpdateException class with an error message and an inner exception.

System_CAPS_pubmethodUpdateException(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.

public UpdateException()

UpdateException Constructor (SerializationInfo, StreamingContext)

Initializes a new instance of the UpdateException class with serialized data.

protected UpdateException(
	SerializationInfo info,
	StreamingContext context
)

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.

public UpdateException(
	string 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.

public UpdateException(
	string message,
	Exception innerException
)

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.