TechNet
Export (0) Print
Expand All

SaveChangesException Class

 

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

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

System.Object
  System.Exception
    Microsoft.Xrm.Sdk.SaveChangesException

[SerializableAttribute]
public sealed class SaveChangesException : Exception

NameDescription
System_CAPS_pubmethodSaveChangesException()

Initializes a new instance of the SaveChangesException class.

System_CAPS_pubmethodSaveChangesException(Exception, SaveChangesResultCollection)

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

System_CAPS_pubmethodSaveChangesException(SaveChangesResultCollection)

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

System_CAPS_pubmethodSaveChangesException(String)

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

System_CAPS_pubmethodSaveChangesException(String, Exception)

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

System_CAPS_pubmethodSaveChangesException(String, Exception, SaveChangesResultCollection)

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

System_CAPS_pubmethodSaveChangesException(String, SaveChangesResultCollection)

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

NameDescription
System_CAPS_pubpropertyData

(Inherited from Exception.)

System_CAPS_pubpropertyHelpLink

(Inherited from Exception.)

System_CAPS_pubpropertyHResult

(Inherited from Exception.)

System_CAPS_pubpropertyInnerException

(Inherited from Exception.)

System_CAPS_pubpropertyMessage

(Inherited from Exception.)

System_CAPS_pubpropertyResults

Gets the results from a SaveChanges method call.

System_CAPS_pubpropertySource

(Inherited from Exception.)

System_CAPS_pubpropertyStackTrace

(Inherited from Exception.)

System_CAPS_pubpropertyTargetSite

(Inherited from Exception.)

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodGetBaseException()

(Inherited from Exception.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetObjectData(SerializationInfo, StreamingContext)

Sets the SerializationInfo with information about the exception.(Overrides Exception.GetObjectData(SerializationInfo, StreamingContext).)

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 CRM 2016 and CRM Online

© 2016 Microsoft. All rights reserved. Copyright

Community Additions

Show:
© 2016 Microsoft