SaveChangesException Constructor (String, SaveChangesResultCollection)
Applies To: Dynamics CRM 2015
Initializes a new instance of the SaveChangesException class using an error message and SaveChanges method call results.
Namespace: Microsoft.Xrm.Sdk
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
Syntax
public SaveChangesException(
string message,
SaveChangesResultCollection results
)
public:
SaveChangesException(
String^ message,
SaveChangesResultCollection^ results
)
new :
message:string *
results:SaveChangesResultCollection -> SaveChangesException
Public Sub New (
message As String,
results As SaveChangesResultCollection
)
Parameters
message
Type: System.StringType: String. The error message that explains the reason for the 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
© 2016 Microsoft. All rights reserved. Copyright