SyncKnowledge::GetKnowledgeForRange Method
Gets the knowledge for the specified range of item IDs.
Assembly: Microsoft.Synchronization (in Microsoft.Synchronization.dll)
public:
SyncKnowledge^ GetKnowledgeForRange(
SyncId^ closedLowerBound,
SyncId^ closedUpperBound
)
Parameters
- closedLowerBound
- Type: Microsoft.Synchronization::SyncId
The closed lower bound item ID of the range.
- closedUpperBound
- Type: Microsoft.Synchronization::SyncId
The closed upper bound item ID of the range.
Return Value
Type: Microsoft.Synchronization::SyncKnowledgeThe knowledge for the specified range of item IDs.
| Exception | Condition |
|---|---|
| InvalidOperationException | This SyncKnowledge object is not initialized. |
| ArgumentNullException | closedLowerBound or closedUpperBound is a nullptr. |
| SyncIdFormatMismatchException | closedLowerBound or closedUpperBound is not in the ID format specified for this knowledge object or has a different variable length setting. |
| SystemArgumentException | closedLowerBound is greater than or equal to closedUpperBound. |
Show: