ISyncSessionExtendedErrorInfo::GetSyncProviderWithError
Gets the ISyncProvider interface of the provider that caused synchronization to fail.
HRESULT GetSyncProviderWithError(
ISyncProvider ** ppProviderWithError);
Parameters
- ppProviderWithError
[out, retval] Gets the ISyncProvider interface of the provider that caused synchronization to fail.
Return Value
S_OK
E_POINTER
SYNC_E_INVALID_OPERATION if a synchronization session was not started.
Remarks
The destination provider indicates which provider caused synchronization to fail during processing of the IKnowledgeSyncProvider::ProcessChangeBatch method by using ISyncSessionState2::SetProviderWithError. ISyncSessionExtendedErrorInfo::GetSyncProviderWithError is used by an application to obtain the ISyncProvider interface of the provider that caused the failure. The application can then query for other interfaces that are implemented by the provider, and call methods to handle the error.