SyncKnowledge.Compare Method

Performs a fast comparison between the specified knowledge cookie and this knowledge object.

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

public KnowledgeCookieComparisonResult Compare(
	KnowledgeCookie otherCookie
)

Parameters

otherCookie
Type: Microsoft.Synchronization.KnowledgeCookie
The knowledge cookie to compare against this object.

Return Value

Type: Microsoft.Synchronization.KnowledgeCookieComparisonResult
The result of the comparison.

ExceptionCondition
ArgumentNullException

otherCookie is a null.

This method can be used when the performance of the knowledge comparison operation is especially important.

Show: