SaveChangesException Constructor (String, Exception, SaveChangesResultCollection)

 

Updated: November 29, 2016

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)

public SaveChangesException(
	string message,
	Exception innerException,
	SaveChangesResultCollection results
)

Parameters

message
Type: System.String

Type: String. The error message that explains the reason for the exception.

innerException
Type: System.Exception

Type: Exception. The inner exception that is the cause of this exception.

results
Type: Microsoft.Xrm.Sdk.SaveChangesResultCollection

Type: SaveChangesResultCollection. The results returned from a SaveChanges call.

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright

Show: