ChangeBatch::Deserialize Method (SyncIdFormatGroup, array<Byte>)

Static method that creates a change batch object and initializes it by using an ID format schema and data from a byte array.

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

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

Parameters

idFormats
Type: Microsoft.Synchronization::SyncIdFormatGroup
The ID format schema of the provider.
data
Type: array<System::Byte>
The change batch data.

Return Value

Type: Microsoft.Synchronization::ChangeBatch
A change batch object that is initialized by using data from the byte array.

ExceptionCondition
ArgumentNullException

idFormats 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.

Show: