TheStorageMirror<(Of <(<'T>)>)>..::..RemoveAnItemByID Method
Removes a single item from the StorageMirror's underlying MirrorCache and/or IStorageService using the ID of the item.
If IsRAMStore is false or IsCached is true, the item will be removed from the IStorageService. If either IsRAMStore or IsCached is true, the item will be removed from the MirrorCache.
Namespace:
nsCDEngine.Engines.StorageServiceAssembly: C-DEngine (in C-DEngine.dll)
Syntax
public void RemoveAnItemByID( Guid ItemId, Action<TheStorageMirror<(Of <(<'T>)>)>..::..StoreResponse> pCallBack )
Public Sub RemoveAnItemByID ( _ ItemId As Guid, _ pCallBack As Action(Of TheStorageMirror<(Of <(<'T>)>)>..::..StoreResponse) _ )
public: void RemoveAnItemByID( Guid^ ItemId, Action<TheStorageMirror<(Of <(<'T>)>)>..::..StoreResponse^>^ pCallBack )
Parameters
- ItemId
- Type: Guid
The ID of the item to be removed.
- pCallBack
- Type: Action<(Of <(<'TheStorageMirror<(Of <(<'T>)>)>..::..StoreResponse>)>)>
The callback that will be invoked upon error or completion of the removal.