SyncDataConverter::ConvertDataToProviderFormat Method

When overridden in a derived class, converts data from an external format to a provider’s transfer format. The external format can be another provider's transfer format or an intermediate format that is used by a synchronization community.

Namespace:  Microsoft.Synchronization
Assembly:  Microsoft.Synchronization (in Microsoft.Synchronization.dll)

public:
virtual Object^ ConvertDataToProviderFormat(
	LoadChangeContext^ context, 
	Object^ itemData
)

Parameters

context
Type: Microsoft.Synchronization::LoadChangeContext
A LoadChangeContext object that represents information about a change to be loaded from the item store. This object can be used to set a recoverable error for a change if an issue occurs during data conversion.
itemData
Type: System::Object
An object that represents the data to be converted.

Return Value

Type: System::Object
An object that represents the converted data.

If a recoverable error occurs during data conversion, set that error on context. The item for which the error is set is then skipped during change application.

For more information about data conversion, see Converting Data Between Providers.

Show: