FullEnumerationChangeBatch::Deserialize Method (SyncIdFormatGroup, ISyncFilterDeserializer, array<Byte>)

Static method that creates a change batch object that is used for recovery synchronization, and initializes it by using an ID format schema, a custom filter deserializer, and data from a byte array.

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

public:
static FullEnumerationChangeBatch^ Deserialize(
	SyncIdFormatGroup^ idFormats, 
	ISyncFilterDeserializer^ syncFilterDeserializer, 
	array<unsigned char>^ data
)

Parameters

idFormats
Type: Microsoft.Synchronization::SyncIdFormatGroup
The ID format schema of the provider.
syncFilterDeserializer
Type: Microsoft.Synchronization::ISyncFilterDeserializer
An object that is used to deserialize the custom filters that are contained in the serialized filter key map data.
data
Type: array<System::Byte>
The serialized change batch data.

Return Value

Type: Microsoft.Synchronization::FullEnumerationChangeBatch
The newly created change batch object that is initialized by using the serialized data contained in data.

ExceptionCondition
ArgumentNullException

idFormats, syncFilterDeserializer, or data is a nullptr.

SerializationException

A problem occurred during serialization.

Typically, the data in the byte array will have been generated from prior serialization of a change batch object.

A filter key map is used by a provider that represents a replica that tracks filters. The filter key map maps filter keys to ISyncFilter objects.

To deserialize the custom filters that are contained in the serialized data, this method calls Deserialize one time for each filter in the serialized data.

Show: