System.Net.Cache.SingleItemRequestCache.Remove C# (CSharp) Method

Remove() private method

private Remove ( string key ) : void
key string
return void
        internal override void Remove(string key)
        {
            if (!TryRemove(key))
            {
                FileNotFoundException fileNotFoundException = new FileNotFoundException(null, key);
                throw new IOException(SR.GetString(SR.net_cache_retrieve_failure, fileNotFoundException.Message), fileNotFoundException);
            }
        }