C# Class System.Net.Cache.SingleItemRequestCache

Inheritance: Microsoft.Win32.WinInetCache
Mostra file Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Private Methods

Method Description
Commit ( string key, RequestCacheEntry tempEntry, byte allBytes ) : void
Remove ( string key ) : void
Retrieve ( string key, RequestCacheEntry &cacheEntry ) : Stream An opened cache entry be preserved until the stream is closed.
SingleItemRequestCache ( bool useWinInet ) : System
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 stream ) : void
Update ( string key, System.DateTime expiresUtc, System.DateTime lastModifiedUtc, System.DateTime lastSynchronizedUtc, System.TimeSpan maxStale, StringCollection entryMetadata, StringCollection systemMetadata ) : void