SyncKnowledge.Deserialize 方法 (SyncIdFormatGroup, Byte , ReplicaKeyMap)
使用序列化数据和指定的副本键映射创建 SyncKnowledge 类的一个新实例。
命名空间: Microsoft.Synchronization
程序集: Microsoft.Synchronization(在 microsoft.synchronization.dll 中)
语法
声明
Public Shared Function Deserialize ( _
idFormats As SyncIdFormatGroup, _
data As Byte(), _
replicaKeyMap As ReplicaKeyMap _
) As SyncKnowledge
用法
Dim idFormats As SyncIdFormatGroup
Dim data As Byte()
Dim replicaKeyMap As ReplicaKeyMap
Dim returnValue As SyncKnowledge
returnValue = SyncKnowledge.Deserialize(idFormats, data, replicaKeyMap)
public static SyncKnowledge Deserialize (
SyncIdFormatGroup idFormats,
byte[] data,
ReplicaKeyMap replicaKeyMap
)
public:
static SyncKnowledge^ Deserialize (
SyncIdFormatGroup^ idFormats,
array<unsigned char>^ data,
ReplicaKeyMap^ replicaKeyMap
)
public static SyncKnowledge Deserialize (
SyncIdFormatGroup idFormats,
byte[] data,
ReplicaKeyMap replicaKeyMap
)
public static function Deserialize (
idFormats : SyncIdFormatGroup,
data : byte[],
replicaKeyMap : ReplicaKeyMap
) : SyncKnowledge
参数
- idFormats
提供程序的 ID 格式架构。
- data
用于初始化新知识对象的序列化数据。
- replicaKeyMap
与该知识相关联的副本键映射。
返回值
使用序列化数据和指定的副本键映射初始化的新知识对象实例。
备注
如果 data 包含序列化副本键映射,此方法将引发 SerializationException。
请参阅
参考
SyncKnowledge 类
SyncKnowledge 成员
Microsoft.Synchronization 命名空间