ILoadChangeContext::SetRecoverableErrorOnChange method (winsync.h)

Indicates a recoverable error on this change has occurred.

Syntax

HRESULT SetRecoverableErrorOnChange(
  [in] HRESULT               hrError,
  [in] IRecoverableErrorData *pErrorData
);

Parameters

[in] hrError

The error code that is associated with the error that prevented the item data from being loaded.

[in] pErrorData

Additional information about the error.

Return value

The possible return codes include, but are not limited to, the values shown in the following table.

Return code Description
S_OK
The method succeeded.
E_INVALIDARG
hrError does not specify an error.
SYNC_E_INTERNAL_ERROR
An internal error has occurred.

Remarks

When this method is called, an ISingleItemException object is added to the learned knowledge; and the item change will not be enumerated again for the duration of the synchronization session.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header winsync.h

See also

ILoadChangeContext Interface

ISingleItemException Interface