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 ReplicaKeyMap object and initializes it 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 ReplicaKeyMap
'Usage
Dim idFormats As SyncIdFormatGroup
Dim data As Byte()
Dim returnValue As ReplicaKeyMap
returnValue = ReplicaKeyMap.Deserialize(idFormats, _
data)
public static ReplicaKeyMap Deserialize(
SyncIdFormatGroup idFormats,
byte[] data
)
public:
static ReplicaKeyMap^ Deserialize(
SyncIdFormatGroup^ idFormats,
array<unsigned char>^ data
)
static member Deserialize :
idFormats:SyncIdFormatGroup *
data:byte[] -> ReplicaKeyMap
public static function Deserialize(
idFormats : SyncIdFormatGroup,
data : byte[]
) : ReplicaKeyMap
Parameters
- idFormats
Type: Microsoft.Synchronization.SyncIdFormatGroup
The ID format schema of the provider.
- data
Type: System.Byte[]
The serialized object data that is used to initialize the new map object.
Return Value
Type: Microsoft.Synchronization.ReplicaKeyMap
The newly created ReplicaKeyMap object that is initialized by using the serialized data.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | idFormats or data is a null reference (Nothing in Visual Basic). |
| SyncIdFormatMismatchException | Some formats in idFormats differ from that of this ReplicaKeyMap object. |