IRecoverableErrorData interface (winsync.h)

Represents information about a recoverable error.

Inheritance

The IRecoverableErrorData interface inherits from the IUnknown interface. IRecoverableErrorData also has these types of members:

Methods

The IRecoverableErrorData interface has these methods.

 
IRecoverableErrorData::GetErrorDescription

Gets the description of the error.
IRecoverableErrorData::GetItemDisplayName

Gets the display name of the item that caused the error.
IRecoverableErrorData::Initialize

Initializes the object by using the specified display name of the item that caused the error and a description of the error.

Remarks

To communicate additional information that is not supported by this interface, implement an object that inherits from IRecoverableErrorData and also from a custom interface. When the application receives the IRecoverableErrorData object in the ISyncCallback::OnRecoverableError method, the application can call QueryInterface on the IRecoverableErrorData object to obtain the custom interface.

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

ISyncCallback::OnRecoverableError Method

Windows Sync Interfaces