void IWMSCacheProxy.FindCacheItem( string bstrOriginUrl , out IWMSCacheItemDescriptor ppCacheItemDescriptor ) { Debug.WriteLine("IWMSCacheProxy.FindCacheItem entered"); ppCacheItemDescriptor = null; return; }
void IWMSCacheItemCollection.GetItem(int index, out IWMSCacheItemDescriptor cacheItem) { cacheItem = null; try { DataRow[] rows = DT.Select(strSel); if((index <0)||(index >= rows.Length)) { throw new COMException("NO ERROR",1); } cacheItem = new IWMSCacheItemDescriptorImpl(this,rows[index]) as IWMSCacheItemDescriptor; } catch(Exception e) { Debug.WriteLine(e); throw new COMException("NO ERROR",1); } }