ReplicaMetadata.FindItemMetadataById Method
When overridden in a derived class, gets item metadata for the item that has the specified global ID.
Assembly: Microsoft.Synchronization.MetadataStorage (in Microsoft.Synchronization.MetadataStorage.dll)
Parameters
- globalId
- Type: Microsoft.Synchronization.SyncId
The global ID of the item.
Return Value
Type: Microsoft.Synchronization.MetadataStorage.ItemMetadataThe item metadata for the item that has the specified ID. A null when no item exists.
| Exception | Condition |
|---|---|
| ObjectDisposedException | The object has been disposed or was not initialized correctly. |
| ArgumentNullException | globalId is a null. |
| SyncIdFormatMismatchException | The format of globalId does not match the format that is specified by the ID format schema for the replica. |
| ItemMetadataNotFoundException | Item metadata was not found for the specified item. |
Show: