FailureBehavior
FailureBehavior
is an enum type property of the Data Adapter that controls how the behavior when one or more changes fail to be applied on the server.
FailureBehavior
can have one of these four values:
Value | Description |
---|---|
None | Nothing happens when an error is encountered. The user won't be informed about errors or failure to apply changes while updating data. |
RaiseException | A DAUpdatesFailedException exception is raised on the server with the general message "One or more updates failed to apply on the server" and some details explaining what caused the error and why. |
ShowReconcile | A Reconcile Dialog is shown. It provides a User Interface to handle update failures. |
Both | A DAUpdatesFailedException exception is raised and a Reconcile Dialog is shown. (Default setting) |