Share via


ForgottenKnowledge.Deserialize Method (SyncIdFormatGroup, Byte[])

Deserializes a forgotten knowledge instance from the specified 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 ForgottenKnowledge
'Usage
Dim idFormats As SyncIdFormatGroup
Dim data As Byte()
Dim returnValue As ForgottenKnowledge

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

Parameters

  • idFormats
    The ID format schema for the provider.
  • data
    The serialized forgotten knowledge data.

Return Value

A new forgotten knowledge object that is filled with the deserialized data.

Remarks

For this form of Deserialize, it is expected that the data will include data for a ReplicaKeyMap instance. If not, SerializationException will be thrown.

See Also

Reference

ForgottenKnowledge Class
ForgottenKnowledge Members
Microsoft.Synchronization Namespace