RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomResolver.LogUpdateError Method

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

Pascal
procedure LogUpdateError(Tree: TUpdateTree; E: EUpdateError; Response: TResolverResponse); virtual;
C++
virtual __fastcall LogUpdateError(TUpdateTree Tree, EUpdateError E, TResolverResponse Response);

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!