ChangeBatchBase::Serialize Method

Serializes the change batch to an array of bytes.

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

public:
array<unsigned char>^ Serialize()

Return Value

Type: array<System::Byte>
An array of bytes that contains the serialized change batch data.

ExceptionCondition
SyncInvalidOperationException

The change batch contains a group that was started but not ended.

ObjectDisposedException

This ChangeBatchBase has been disposed.

InvalidSerializationVersionException

The target serialization version does not support custom filters.

[T:Microsoft:Synchronization.InvalidOperationException]

A group has been begun but not ended on this ChangeBatchBase.

Show: