SaveChangesOptions 열거형
Describes how the SaveChanges method behaves when an error occurs while updating data in Microsoft Dynamics CRM.
네임스페이스: Microsoft.Xrm.Sdk.Client
어셈블리: Microsoft.Xrm.Sdk(Microsoft.Xrm.Sdk.dll에 있음)
구문
‘선언
<FlagsAttribute> _
Public Enumeration SaveChangesOptions
[FlagsAttribute]
public enum SaveChangesOptions
구성원
구성원 이름 | 설명 |
---|---|
ContinueOnError | The SaveChanges method should continue applying changes to tracked entities in Microsoft Dynamics CRM even if an action fails. Value = 1. |
None | The SaveChanges method should throw an exception when an error occurs while updating data in Microsoft Dynamics CRM. Value = 0. |
설명
The SaveChanges method applies changes to tracked entities in Microsoft Dynamics CRM. If an error occurs while performing these updates, this enumeration indicates to the OrganizationServiceContext how it should handle errors. If the value is set to None and an error occurs, an exception is thrown with the SaveChangesResultCollection attached.
플랫폼
Development Platforms
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Target Platforms
Windows Server 2008,Windows Server 2012,Windows 7
참고 항목
참조
Microsoft.Xrm.Sdk.Client 네임스페이스
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.