Share via


ChangeBatch.Deserialize Method

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)

Syntax

'Declaration
Public Shared Function Deserialize ( _
    idFormats As SyncIdFormatGroup, _
    data As Byte() _
) As ChangeBatch
'Usage
Dim idFormats As SyncIdFormatGroup
Dim data As Byte()
Dim returnValue As ChangeBatch

returnValue = ChangeBatch.Deserialize(idFormats, data)
public static ChangeBatch Deserialize (
    SyncIdFormatGroup idFormats,
    byte[] data
)
public:
static ChangeBatch^ Deserialize (
    SyncIdFormatGroup^ idFormats, 
    array<unsigned char>^ data
)
public static ChangeBatch Deserialize (
    SyncIdFormatGroup idFormats, 
    byte[] data
)
public static function Deserialize (
    idFormats : SyncIdFormatGroup, 
    data : byte[]
) : ChangeBatch

Parameters

  • idFormats
    The ID format schema of the provider.
  • data
    The change batch data.

Return Value

A change batch object that is initialized by using data from the byte array.

Remarks

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

See Also

Reference

ChangeBatch Class
ChangeBatch Members
Microsoft.Synchronization Namespace