SyncKnowledge Class

Represents knowledge that a replica has about its item store.

Namespace:  Microsoft.Synchronization
Assembly:  Microsoft.Synchronization (in Microsoft.Synchronization.dll)

[SerializableAttribute]
public class SyncKnowledge : ISerializable, 
	IXmlSerializable

The SyncKnowledge type exposes the following members.

  NameDescription
Public methodSyncKnowledge()Initializes a new instance of the SyncKnowledge class.
Protected methodSyncKnowledge(SerializationInfo, StreamingContext)Initializes a new instance of the SyncKnowledge class by using serialized data.
Public methodSyncKnowledge(SyncIdFormatGroup, ReplicaKeyMap, UInt64)Initializes a new instance of the SyncKnowledge class that contains the specified ID format schema, replica key map, and tick count.
Public methodSyncKnowledge(SyncIdFormatGroup, SyncId, UInt64)Initializes a new instance of the SyncKnowledge class that contains the specified ID format schema, replica ID, and tick count.
Top

  NameDescription
Public propertyCompatibilityLevelGets or sets the version of Sync Framework components that can be used with this object.
Public propertyStatic memberDefaultCompatibilityLevelGets or sets the default compatibility level of all SyncKnowledge objects.
Public propertyMinimumCompatibilityLevelGets the minimum version of Sync Framework components that can be used with this object.
Public propertyReplicaIdGets the ID of the replica that owns this knowledge.
Public propertyReplicaKeyMapGets the replica key map that is associated with this knowledge.
Top

  NameDescription
Public methodAddMarkerMarks the specified item with the specified marker type.
Public methodCloneCreates a new instance of this object, and copies the data from this object to the new object.
Public methodCombineCombines the specified knowledge with the current knowledge.
Public methodComparePerforms a fast comparison between the specified knowledge cookie and this knowledge object.
Public methodComplementReturns the knowledge that is contained in this object, but that is not contained in the specified knowledge.
Public methodContains(ChangeUnitChange)Indicates whether the specified change unit change is known by this knowledge.
Public methodContains(ItemChange)Indicates whether the specified item change is known by this knowledge.
Public methodContains(SyncKnowledge)Indicates whether the specified knowledge is known by this knowledge.
Public methodContains(SyncId, SyncId, SyncVersion)Indicates whether the specified item change is known by this knowledge.
Public methodContains(SyncId, SyncId, SyncId, SyncVersion)Indicates whether the specified change unit change is known by this knowledge.
Public methodContainsMarkerIndicates whether the specified item is marked with the specified marker type.
Public methodStatic memberDeserialize(SyncIdFormatGroup, Byte[])Creates a new instance of the SyncKnowledge class by using serialized data.
Public methodStatic memberDeserialize(SyncIdFormatGroup, Byte[], ReplicaKeyMap)Creates a new instance of the SyncKnowledge class by using serialized data and the specified replica key map.
Public methodEquals (Inherited from Object.)
Public methodExcludeChangeUnitRemoves knowledge about the specified change unit from the knowledge.
Public methodExcludeItemRemoves knowledge about the specified item from the knowledge.
Protected methodFinalize (Inherited from Object.)
Public methodFindMinTickCountForReplicaFinds the minimum tick count in the knowledge for the specified replica.
Public methodGetHashCode (Inherited from Object.)
Public methodGetKnowledgeCookieGets a lightweight, read-only representation of this knowledge object that can be used for fast comparisons.
Public methodGetKnowledgeForChangeUnitGets the knowledge for the specified change unit.
Public methodGetKnowledgeForColumnsReturns the knowledge for the specified set of change units for all the items that are contained in this object.
Public methodGetKnowledgeForItemGets the knowledge for the specified item.
Public methodGetKnowledgeForRangeGets the knowledge for the specified range of item IDs.
Public methodGetObjectDataSerializes the knowledge object data to a SerializationInfo object.
Public methodGetSchemaReturns a null.
Public methodGetSyncIdFormatGroupGets the ID format schema of the IDs that are stored in this knowledge object.
Public methodGetType (Inherited from Object.)
Public methodIntersectsIndicates whether the specified knowledge intersects with this knowledge.
Public methodMapRemoteKnowledgeToLocalConverts a knowledge object from another replica into one that is compatible with the replica that owns this knowledge.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodReadXmlReconstitutes the object from its XML representation.
Public methodRemoveAllChangeUnitsMarkersRemoves all markers for items in the knowledge.
Public methodRemoveMarkerRemoves a marker of the specified type from the specified item.
Public methodSerialize()Serializes the knowledge object data to a byte array.
Public methodSerialize(Boolean)Serializes the knowledge object data to a byte array.
Public methodSetLocalTickCountSets the tick count for the replica that owns this knowledge.
Public methodToStringGets a string that represents the knowledge. (Overrides Object.ToString().)
Public methodWriteXmlConverts this object into its XML representation.
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: