SyncKnowledge::Complement Method
Returns the knowledge that is contained in this object, but that is not contained in the specified knowledge.
Assembly: Microsoft.Synchronization (in Microsoft.Synchronization.dll)
Parameters
- otherKnowledge
- Type: Microsoft.Synchronization::SyncKnowledge
The knowledge to remove from this object to calculate the result of the complement operation.
Return Value
Type: Microsoft.Synchronization::SyncKnowledgeThe knowledge that is contained in this object but that is not contained in the specified knowledge.
| Exception | Condition |
|---|---|
| InvalidOperationException | This SyncKnowledge object is not initialized. |
| ArgumentOutOfRangeException | otherKnowledge is not a valid value. |
| ArgumentNullException | otherKnowledge is a nullptr. |
Show: