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

Update() private method

private Update ( string key, System.DateTime expiresUtc, System.DateTime lastModifiedUtc, System.DateTime lastSynchronizedUtc, System.TimeSpan maxStale, StringCollection entryMetadata, StringCollection systemMetadata ) : void
key string
expiresUtc System.DateTime
lastModifiedUtc System.DateTime
lastSynchronizedUtc System.DateTime
maxStale System.TimeSpan
entryMetadata System.Collections.Specialized.StringCollection
systemMetadata System.Collections.Specialized.StringCollection
return void
        internal override void Update(string key, DateTime expiresUtc, DateTime lastModifiedUtc, DateTime lastSynchronizedUtc, TimeSpan maxStale, StringCollection entryMetadata, StringCollection systemMetadata)
        {
            if (!TryUpdate(key, expiresUtc, lastModifiedUtc, lastSynchronizedUtc, maxStale, entryMetadata, systemMetadata))
            {
                FileNotFoundException fileNotFoundException = new FileNotFoundException(null, key);
                throw new IOException(SR.GetString(SR.net_cache_retrieve_failure, fileNotFoundException.Message), fileNotFoundException);
            }
        }