SaveChangesException SaveChangesException SaveChangesException SaveChangesException Class

Definition

Represents an exception that occurred when saving changes to the OrganizationServiceContext.

public ref class SaveChangesException sealed : Exception
public sealed class SaveChangesException : Exception
type SaveChangesException = class
    inherit Exception
Public NotInheritable Class SaveChangesException
Inherits Exception
Inheritance
SaveChangesExceptionSaveChangesExceptionSaveChangesExceptionSaveChangesException

Constructors

SaveChangesException() SaveChangesException() SaveChangesException() SaveChangesException()

Initializes a new instance of the SaveChangesException class.

SaveChangesException(SaveChangesResultCollection) SaveChangesException(SaveChangesResultCollection) SaveChangesException(SaveChangesResultCollection) SaveChangesException(SaveChangesResultCollection)

Initializes a new instance of the SaveChangesException class using SaveChanges() method call results.

SaveChangesException(String) SaveChangesException(String) SaveChangesException(String) SaveChangesException(String)

Initializes a new instance of the SaveChangesException class with an error message.

SaveChangesException(Exception, SaveChangesResultCollection) SaveChangesException(Exception, SaveChangesResultCollection) SaveChangesException(Exception, SaveChangesResultCollection) SaveChangesException(Exception, SaveChangesResultCollection)

Initializes a new instance of the SaveChangesException class using an inner exception and SaveChanges() method call results.

SaveChangesException(String, SaveChangesResultCollection) SaveChangesException(String, SaveChangesResultCollection) SaveChangesException(String, SaveChangesResultCollection) SaveChangesException(String, SaveChangesResultCollection)

Initializes a new instance of the SaveChangesException class using an error message and SaveChanges() method call results.

SaveChangesException(String, Exception) SaveChangesException(String, Exception) SaveChangesException(String, Exception) SaveChangesException(String, Exception)

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

SaveChangesException(String, Exception, SaveChangesResultCollection) SaveChangesException(String, Exception, SaveChangesResultCollection) SaveChangesException(String, Exception, SaveChangesResultCollection) SaveChangesException(String, Exception, SaveChangesResultCollection)

Initializes a new instance of the SaveChangesException class with and error message, an inner exception, and SaveChanges() method call results.

Properties

Results Results Results Results

Gets the results from a SaveChanges() method call.

Methods

GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext)

Sets the SerializationInfo with information about the exception.

Applies to

See also