The metadata storage service calls OnAddingItemToBatch one time for each item change that is detected during change detection. When OnAddingItemToBatch is called, it can inspect the item change metadata and indicate whether the change should be included in the change batch.