SaveChangesException Class
Applies To: Dynamics CRM 2015
Represents an exception that occurred when saving changes to the OrganizationServiceContext.
Namespace: Microsoft.Xrm.Sdk
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
Inheritance Hierarchy
System.Object
System.Exception
Microsoft.Xrm.Sdk.SaveChangesException
Syntax
[SerializableAttribute]
public sealed class SaveChangesException : Exception
[SerializableAttribute]
public ref class SaveChangesException sealed : Exception
[<Sealed>]
[<SerializableAttribute>]
type SaveChangesException =
class
inherit Exception
end
<SerializableAttribute>
Public NotInheritable Class SaveChangesException
Inherits Exception
Constructors
Name | Description | |
---|---|---|
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) | Initializes a new instance of the SaveChangesException class with an error message. |
|
SaveChangesException(String, Exception) | Initializes a new instance of the SaveChangesException class with and error message and an inner exception. |
|
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, SaveChangesResultCollection) | Initializes a new instance of the SaveChangesException class using an error message and SaveChanges method call results. |
Properties
Name | Description | |
---|---|---|
Data | (Inherited from Exception.) |
|
HelpLink | (Inherited from Exception.) |
|
HResult | (Inherited from Exception.) |
|
InnerException | (Inherited from Exception.) |
|
Message | (Inherited from Exception.) |
|
Results | Gets the results from a SaveChanges method call. |
|
Source | (Inherited from Exception.) |
|
StackTrace | (Inherited from Exception.) |
|
TargetSite | (Inherited from Exception.) |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
GetBaseException() | (Inherited from Exception.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetObjectData(SerializationInfo, StreamingContext) | Sets the SerializationInfo with information about the exception.(Overrides Exception.GetObjectData(SerializationInfo, StreamingContext).) |
|
GetType() | (Inherited from Exception.) |
|
ToString() | (Inherited from Exception.) |
Thread Safety
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
SaveChanges
Microsoft.Xrm.Sdk Namespace
Return to top
© 2016 Microsoft. All rights reserved. Copyright