Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
)
static member Deserialize :
idFormats:SyncIdFormatGroup *
data:byte[] -> SyncKnowledge
public static function Deserialize(
idFormats : SyncIdFormatGroup,
data : byte[]
) : SyncKnowledge
Parameters
- idFormats
Type: Microsoft.Synchronization.SyncIdFormatGroup
The ID format schema of the provider.
- data
Type: System.Byte[]
The serialized data used to initialize the new knowledge object.
Return Value
Type: Microsoft.Synchronization.SyncKnowledge
The new knowledge object instance that is initialized by using the serialized data.
Exceptions
| Exception | Condition |
|---|---|
| SerializationException | data does not contain a replica key map. |
| ArgumentNullException | idFormats or data is a null reference (Nothing in Visual Basic). |