SyncKnowledge.Deserialize Method (SyncIdFormatGroup, Byte )
Creates a new instance of the SyncKnowledge class by using serialized data.
Namespace: Microsoft.Synchronization
Assembly: Microsoft.Synchronization (in microsoft.synchronization.dll)
Syntax
'Declaration
Public Shared Function Deserialize ( _
idFormats As SyncIdFormatGroup, _
data As Byte() _
) As SyncKnowledge
'Usage
Dim idFormats As SyncIdFormatGroup
Dim data As Byte()
Dim returnValue As SyncKnowledge
returnValue = SyncKnowledge.Deserialize(idFormats, data)
public static SyncKnowledge Deserialize (
SyncIdFormatGroup idFormats,
byte[] data
)
public:
static SyncKnowledge^ Deserialize (
SyncIdFormatGroup^ idFormats,
array<unsigned char>^ data
)
public static SyncKnowledge Deserialize (
SyncIdFormatGroup idFormats,
byte[] data
)
public static function Deserialize (
idFormats : SyncIdFormatGroup,
data : byte[]
) : SyncKnowledge
Parameters
- idFormats
The ID format schema of the provider.
- data
The serialized data used to initialize the new knowledge object.
Return Value
The new knowledge object instance that is initialized by using the serialized data.
Remarks
If data does not contain a replica key map, this method throws SerializationException.
See Also
Reference
SyncKnowledge Class
SyncKnowledge Members
Microsoft.Synchronization Namespace