Del via


SaveChangesException Class

Definition

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

public ref class SaveChangesException sealed : Exception
[System.Serializable]
public sealed class SaveChangesException : Exception
[<System.Serializable>]
type SaveChangesException = class
    inherit Exception
Public NotInheritable Class SaveChangesException
Inherits Exception
Inheritance
SaveChangesException
Attributes

Constructors

SaveChangesException()

Initializes a new instance of the SaveChangesException class.

SaveChangesException(Exception, SaveChangesResultCollection)

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

SaveChangesException(SaveChangesResultCollection)

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

SaveChangesException(String, Exception, SaveChangesResultCollection)

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

SaveChangesException(String, Exception)

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

SaveChangesException(String, SaveChangesResultCollection)

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

SaveChangesException(String)

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

Properties

Results

Gets the results from a SaveChanges() method call.

Methods

GetObjectData(SerializationInfo, StreamingContext)

Sets the SerializationInfo with information about the exception.

Applies to

See also