ReplicaMetadata::SetKnowledge Method
When overridden in a derived class, sets the current knowledge for this replica.
Assembly: Microsoft.Synchronization.MetadataStorage (in Microsoft.Synchronization.MetadataStorage.dll)
| Exception | Condition |
|---|---|
| ObjectDisposedException | The object has been disposed or was not initialized correctly. |
| ArgumentNullException | knowledge is a nullptr. |
| ArgumentException | knowledge contains a replica ID that is different from the replica ID for this metadata. |
Show: