Datasnap.Provider.TCustomResolver.LogUpdateError

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure LogUpdateError(Tree: TUpdateTree; E: EUpdateError;  Response: TResolverResponse); virtual;

C++

virtual void __fastcall LogUpdateError(TUpdateTree* Tree, Data::Db::EUpdateError* E, TResolverResponse Response);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Datasnap.Provider.pas
Datasnap.Provider.hpp
Datasnap.Provider TCustomResolver

Description

Adds an update that could not be resolved to the error log.

When the HandleUpdateError method can't resolve an update conflict, it calls LogUpdateError to add the unapplied update to the error log. This error log is eventually returned by the ApplyUpdates method when the update operation ends.

The Tree parameter represents the set of updates in the delta packet. The E parameter is the EUpdateError exception that represents the current update error. The Response parameter is rrSkip if the update process should continue after the update is logged, and rrAbort if the entire update operation should be rolled back. LogUpdateError is never called with Response set to any other value.

See Also