SyncKnowledge Class
Represents knowledge that a replica has about its item store.
Inheritance Hierarchy
System.Object
Microsoft.Synchronization.SyncKnowledge
Microsoft.Synchronization.ForgottenKnowledge
Namespace: Microsoft.Synchronization
Assembly: Microsoft.Synchronization (in Microsoft.Synchronization.dll)
Syntax
'Declaration
<SerializableAttribute> _
Public Class SyncKnowledge _
Implements ISerializable, IXmlSerializable
'Usage
Dim instance As SyncKnowledge
[SerializableAttribute]
public class SyncKnowledge : ISerializable,
IXmlSerializable
[SerializableAttribute]
public ref class SyncKnowledge : ISerializable,
IXmlSerializable
[<SerializableAttribute>]
type SyncKnowledge =
class
interface ISerializable
interface IXmlSerializable
end
public class SyncKnowledge implements ISerializable, IXmlSerializable
The SyncKnowledge type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SyncKnowledge() | Initializes a new instance of the SyncKnowledge class. | |
SyncKnowledge(SerializationInfo, StreamingContext) | Initializes a new instance of the SyncKnowledge class by using serialized data. | |
SyncKnowledge(SyncIdFormatGroup, ReplicaKeyMap, UInt64) | Initializes a new instance of the SyncKnowledge class that contains the specified ID format schema, replica key map, and tick count. | |
SyncKnowledge(SyncIdFormatGroup, SyncId, UInt64) | Initializes a new instance of the SyncKnowledge class that contains the specified ID format schema, replica ID, and tick count. |
Top
Properties
Name | Description | |
---|---|---|
CompatibilityLevel | Gets or sets the version of Sync Framework components that can be used with this object. | |
DefaultCompatibilityLevel | Gets or sets the default compatibility level of all SyncKnowledge objects. | |
MinimumCompatibilityLevel | Gets the minimum version of Sync Framework components that can be used with this object. | |
ReplicaId | Gets the ID of the replica that owns this knowledge. | |
ReplicaKeyMap | Gets the replica key map that is associated with this knowledge. |
Top
Methods
Name | Description | |
---|---|---|
AddMarker | Marks the specified item with the specified marker type. | |
Clone | Creates a new instance of this object, and copies the data from this object to the new object. | |
Combine | Combines the specified knowledge with the current knowledge. | |
Compare | Performs a fast comparison between the specified knowledge cookie and this knowledge object. | |
Complement | Returns the knowledge that is contained in this object, but that is not contained in the specified knowledge. | |
Contains(ChangeUnitChange) | Indicates whether the specified change unit change is known by this knowledge. | |
Contains(ItemChange) | Indicates whether the specified item change is known by this knowledge. | |
Contains(SyncKnowledge) | Indicates whether the specified knowledge is known by this knowledge. | |
Contains(SyncId, SyncId, SyncVersion) | Indicates whether the specified item change is known by this knowledge. | |
Contains(SyncId, SyncId, SyncId, SyncVersion) | Indicates whether the specified change unit change is known by this knowledge. | |
ContainsMarker | Indicates whether the specified item is marked with the specified marker type. | |
Deserialize(SyncIdFormatGroup, Byte[]) | Creates a new instance of the SyncKnowledge class by using serialized data. | |
Deserialize(SyncIdFormatGroup, Byte[], ReplicaKeyMap) | Creates a new instance of the SyncKnowledge class by using serialized data and the specified replica key map. | |
Equals | (Inherited from Object.) | |
ExcludeChangeUnit | Removes knowledge about the specified change unit from the knowledge. | |
ExcludeItem | Removes knowledge about the specified item from the knowledge. | |
Finalize | (Inherited from Object.) | |
FindMinTickCountForReplica | Finds the minimum tick count in the knowledge for the specified replica. | |
GetHashCode | (Inherited from Object.) | |
GetKnowledgeCookie | Gets a lightweight, read-only representation of this knowledge object that can be used for fast comparisons. | |
GetKnowledgeForChangeUnit | Gets the knowledge for the specified change unit. | |
GetKnowledgeForColumns | Returns the knowledge for the specified set of change units for all the items that are contained in this object. | |
GetKnowledgeForItem | Gets the knowledge for the specified item. | |
GetKnowledgeForRange | Gets the knowledge for the specified range of item IDs. | |
GetObjectData | Serializes the knowledge object data to a SerializationInfo object. | |
GetSchema | Returns a null reference (Nothing in Visual Basic). | |
GetSyncIdFormatGroup | Gets the ID format schema of the IDs that are stored in this knowledge object. | |
GetType | (Inherited from Object.) | |
Intersects | Indicates whether the specified knowledge intersects with this knowledge. | |
MapRemoteKnowledgeToLocal | Converts a knowledge object from another replica into one that is compatible with the replica that owns this knowledge. | |
MemberwiseClone | (Inherited from Object.) | |
ReadXml | Reconstitutes the object from its XML representation. | |
RemoveAllChangeUnitsMarkers | Removes all markers for items in the knowledge. | |
RemoveMarker | Removes a marker of the specified type from the specified item. | |
Serialize() | Serializes the knowledge object data to a byte array. | |
Serialize(Boolean) | Serializes the knowledge object data to a byte array. | |
SetLocalTickCount | Sets the tick count for the replica that owns this knowledge. | |
ToString | Gets a string that represents the knowledge. (Overrides Object.ToString().) | |
WriteXml | Converts this object into its XML representation. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.