SyncKnowledge.Serialize Method
Serializes the knowledge object data to a byte array.
Namespace: Microsoft.Synchronization
Assembly: Microsoft.Synchronization (in Microsoft.Synchronization.dll)
Syntax
'Declaration
Public Function Serialize As Byte()
'Usage
Dim instance As SyncKnowledge
Dim returnValue As Byte()
returnValue = instance.Serialize()
public byte[] Serialize()
public:
array<unsigned char>^ Serialize()
member Serialize : unit -> byte[]
public function Serialize() : byte[]
Return Value
Type: System.Byte[]
The byte array that contains the serialized knowledge object data.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | This SyncKnowledge object is not initialized. |
Remarks
This method includes the replica key map in the data that is serialized.