C# Class System.Net.Cache.RequestCache

Mostra file Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Private Properties

Property Type Description
Remove void
Retrieve Stream
Store Stream
TryRemove bool
TryRetrieve bool
TryStore bool
TryUpdate bool
UnlockEntry void
Update void

Protected Methods

Method Description
RequestCache ( bool isPrivateCache, bool canWrite ) : System

Private Methods

Method Description
Remove ( string key ) : void
Retrieve ( string key, RequestCacheEntry &cacheEntry ) : Stream An opened cache entry be preserved until the stream is closed.
Store ( string key, long contentLength, System.DateTime expiresUtc, System.DateTime lastModifiedUtc, System.TimeSpan maxStale, StringCollection entryMetadata, StringCollection systemMetadata ) : Stream The commit operation should happen on the stream closure.
TryRemove ( string key ) : bool
TryRetrieve ( string key, RequestCacheEntry &cacheEntry, Stream &readStream ) : bool
TryStore ( string key, long contentLength, System.DateTime expiresUtc, System.DateTime lastModifiedUtc, System.TimeSpan maxStale, StringCollection entryMetadata, StringCollection systemMetadata, Stream &writeStream ) : bool
TryUpdate ( string key, System.DateTime expiresUtc, System.DateTime lastModifiedUtc, System.DateTime lastSynchronizedUtc, System.TimeSpan maxStale, StringCollection entryMetadata, StringCollection systemMetadata ) : bool
UnlockEntry ( Stream retrieveStream ) : void
Update ( string key, System.DateTime expiresUtc, System.DateTime lastModifiedUtc, System.DateTime lastSynchronizedUtc, System.TimeSpan maxStale, StringCollection entryMetadata, StringCollection systemMetadata ) : void

Method Details

RequestCache() protected method

protected RequestCache ( bool isPrivateCache, bool canWrite ) : System
isPrivateCache bool
canWrite bool
return System