SaveChangesException Constructor (String, Exception, SaveChangesResultCollection)
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
Initializes a new instance of the SaveChangesException class with and error message, an inner exception, and SaveChanges method call results.
Namespace: Microsoft.Xrm.Sdk
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
Syntax
public SaveChangesException(
string message,
Exception innerException,
SaveChangesResultCollection results
)
Public Sub New (
message As String,
innerException As Exception,
results As SaveChangesResultCollection
)
Parameters
message
Type: System.StringType: String. The error message that explains the reason for the exception.
innerException
Type: System.ExceptionType: Exception. The inner exception that is the cause of this exception.
results
Type: Microsoft.Xrm.Sdk.SaveChangesResultCollectionType: SaveChangesResultCollection. The results returned from a SaveChanges call.
See Also
SaveChangesException Overload
SaveChangesException Class
Microsoft.Xrm.Sdk Namespace
Return to top
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright