SaveChangesException Class

 

Updated: November 29, 2016

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

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

Namespace:   Microsoft.Xrm.Sdk
Assembly:  Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

SystemObject
  SystemException
    Microsoft.Xrm.SdkSaveChangesException

No code example is currently available or this language may not be supported.

NameDescription
System_CAPS_pubmethodSaveChangesException

Initializes a new instance of the SaveChangesException class.

System_CAPS_pubmethodSaveChangesException

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

System_CAPS_pubmethodSaveChangesException

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

System_CAPS_pubmethodSaveChangesException

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

System_CAPS_pubmethodSaveChangesException

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

System_CAPS_pubmethodSaveChangesException

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

System_CAPS_pubmethodSaveChangesException

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

NameDescription
System_CAPS_pubproperty

(Inherited from Exception.)

System_CAPS_pubproperty

(Inherited from Exception.)

System_CAPS_pubproperty

(Inherited from Exception.)

System_CAPS_pubproperty

(Inherited from Exception.)

System_CAPS_pubproperty

(Inherited from Exception.)

System_CAPS_pubproperty

Gets the results from a SaveChanges method call.

System_CAPS_pubproperty

(Inherited from Exception.)

System_CAPS_pubproperty

(Inherited from Exception.)

System_CAPS_pubproperty

(Inherited from Exception.)

NameDescription
System_CAPS_pubmethodEquals

(Inherited from Object.)

System_CAPS_pubmethodGetBaseException

(Inherited from Exception.)

System_CAPS_pubmethodGetHashCode

(Inherited from Object.)

System_CAPS_pubmethodGetObjectData

Sets the SerializationInfo with information about the exception.(Overrides ExceptionGetObjectData.)

System_CAPS_pubmethodGetType

(Inherited from Exception.)

System_CAPS_pubmethodToString

(Inherited from Exception.)

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright

Community Additions

Show: