Delen via


ChangeBatchBase.Serialize Method

Serializes the change batch to an array of bytes.

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

Syntax

'Declaration
Public Function Serialize As Byte()
'Usage
Dim instance As ChangeBatchBase
Dim returnValue As Byte()

returnValue = instance.Serialize
public byte[] Serialize ()
public:
array<unsigned char>^ Serialize ()
public byte[] Serialize ()
public function Serialize () : byte[]

Return Value

An array of bytes that contains the serialized change batch data.

Exceptions

Exception type Condition

SyncInvalidOperationException

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

See Also

Reference

ChangeBatchBase Class
ChangeBatchBase Members
Microsoft.Synchronization Namespace