SaveChangesResultCollection Class
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
Provides a collection of results for a save changes operation.
Namespace: Microsoft.Xrm.Sdk
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
Inheritance Hierarchy
System.Object
System.Collections.ObjectModel.Collection<T>
Microsoft.Xrm.Sdk.SaveChangesResultCollection
Syntax
public sealed class SaveChangesResultCollection : Collection<SaveChangesResult>
Public NotInheritable Class SaveChangesResultCollection
Inherits Collection(Of SaveChangesResult)
Properties
Name | Description | |
---|---|---|
![]() |
Count | (Inherited from Collection<T>.) |
![]() |
HasError | Gets whether there is an error. |
![]() |
Item[Int32] | (Inherited from Collection<T>.) |
![]() |
Options | Gets how the SaveChanges method behaves when an error occurs. |
Methods
Name | Description | |
---|---|---|
![]() |
Add(T) | (Inherited from Collection<T>.) |
![]() |
Clear() | (Inherited from Collection<T>.) |
![]() |
Contains(T) | (Inherited from Collection<T>.) |
![]() |
CopyTo(T[], Int32) | (Inherited from Collection<T>.) |
![]() |
Equals(Object) | (Inherited from Object.) |
![]() |
GetEnumerator() | (Inherited from Collection<T>.) |
![]() |
GetHashCode() | (Inherited from Object.) |
![]() |
GetType() | (Inherited from Object.) |
![]() |
IndexOf(T) | (Inherited from Collection<T>.) |
![]() |
Insert(Int32, T) | (Inherited from Collection<T>.) |
![]() |
Remove(T) | (Inherited from Collection<T>.) |
![]() |
RemoveAt(Int32) | (Inherited from Collection<T>.) |
![]() |
ToString() | (Inherited from Object.) |
Explicit Interface Implementations
Name | Description | |
---|---|---|
![]() ![]() |
ICollection.CopyTo(Array, Int32) | (Inherited from Collection<T>.) |
![]() ![]() |
IEnumerable.GetEnumerator() | (Inherited from Collection<T>.) |
![]() ![]() |
IList.Add(Object) | (Inherited from Collection<T>.) |
![]() ![]() |
IList.Contains(Object) | (Inherited from Collection<T>.) |
![]() ![]() |
IList.IndexOf(Object) | (Inherited from Collection<T>.) |
![]() ![]() |
IList.Insert(Int32, Object) | (Inherited from Collection<T>.) |
![]() ![]() |
IList.Remove(Object) | (Inherited from Collection<T>.) |
![]() ![]() |
ICollection<T>.IsReadOnly | (Inherited from Collection<T>.) |
![]() ![]() |
ICollection.IsSynchronized | (Inherited from Collection<T>.) |
![]() ![]() |
ICollection.SyncRoot | (Inherited from Collection<T>.) |
![]() ![]() |
IList.IsFixedSize | (Inherited from Collection<T>.) |
![]() ![]() |
IList.IsReadOnly | (Inherited from Collection<T>.) |
![]() ![]() |
IList.Item[Int32] | (Inherited from Collection<T>.) |
Remarks
Returned from these methods: OnSaveChanges, SaveChanges
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
Microsoft.Xrm.Sdk Namespace
Use the OrganizationServiceContext class
Sample: Use the organization service context
Return to top
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright