1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438
|
<?xml version="1.0" encoding="utf-8"?>
<Type Name="Cache" FullName="System.Web.Caching.Cache">
<TypeSignature Language="C#" Maintainer="auto" Value="public sealed class Cache : System.Collections.IEnumerable" />
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyPublicKey>
</AssemblyPublicKey>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details.</ThreadSafetyStatement>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces>
<Interface>
<InterfaceName>System.Collections.IEnumerable</InterfaceName>
</Interface>
</Interfaces>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>One instance of this class is created per application domain, and it remains valid as long as the application domain remains active. Information about an instance of this class is available through the Cache property of the <see cref="T:System.Web.HttpContext" /> object or the Cache property of the <see cref="T:System.Web.UI.Page" /> object.</para>
<block subset="none" type="note">
<para>The <see cref="T:System.Web.Caching.Cache" /> class is not intended for use outside of ASP.NET applications. It was designed and tested for use in ASP.NET to provide caching for Web applications. For other types of applications, such as console applications or Windows Forms applications, use the <see cref="T:System.Runtime.Caching.ObjectCache" /> class.</para>
</block>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Implements the cache for a Web application. This class cannot be inherited.</para>
</summary>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public Cache ();" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters />
<Docs>
<remarks>To be added</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Initializes a new instance of the <see cref="T:System.Web.Caching.Cache" /> class.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="Add">
<MemberSignature Language="C#" Value="public object Add (string key, object value, System.Web.Caching.CacheDependency dependencies, DateTime absoluteExpiration, TimeSpan slidingExpiration, System.Web.Caching.CacheItemPriority priority, System.Web.Caching.CacheItemRemovedCallback onRemoveCallback);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Object</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="key" Type="System.String" />
<Parameter Name="value" Type="System.Object" />
<Parameter Name="dependencies" Type="System.Web.Caching.CacheDependency" />
<Parameter Name="absoluteExpiration" Type="System.DateTime" />
<Parameter Name="slidingExpiration" Type="System.TimeSpan" />
<Parameter Name="priority" Type="System.Web.Caching.CacheItemPriority" />
<Parameter Name="onRemoveCallback" Type="System.Web.Caching.CacheItemRemovedCallback" />
</Parameters>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Calls to this method will fail if an item with the same <paramref name="key" /> parameter is already stored in the Cache. To overwrite an existing Cache item using the same <paramref name="key" /> parameter, use the <see cref="M:System.Web.Caching.Cache.Insert(System.String,System.Object)" /> method.</para>
<para>You cannot set both the <paramref name="absoluteExpiration" /> and <paramref name="slidingExpiration" /> parameters. If you intend the cache item to expire at a specific time, you set the <paramref name="absoluteExpiration" /> parameter to the specific time, and the <paramref name="slidingExpiration" /> parameter to <see cref="F:System.Web.Caching.Cache.NoSlidingExpiration" />.</para>
<para>If you intend the cache item to expire after a certain amount of time has passed since the item was last accessed, you set the <paramref name="slidingExpiration" /> parameter to the expiration interval, and the <paramref name="absoluteExpiration" /> parameter to <see cref="F:System.Web.Caching.Cache.NoAbsoluteExpiration" />.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Adds the specified item to the <see cref="T:System.Web.Caching.Cache" /> object with dependencies, expiration and priority policies, and a delegate you can use to notify your application when the inserted item is removed from the Cache.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>An object that represents the item that was added if the item was previously stored in the cache; otherwise, null.</para>
</returns>
<param name="key">
<attribution license="cc4" from="Microsoft" modified="false" />The cache key used to reference the item. </param>
<param name="value">
<attribution license="cc4" from="Microsoft" modified="false" />The item to be added to the cache. </param>
<param name="dependencies">
<attribution license="cc4" from="Microsoft" modified="false" />The file or cache key dependencies for the item. When any dependency changes, the object becomes invalid and is removed from the cache. If there are no dependencies, this parameter contains null.</param>
<param name="absoluteExpiration">
<attribution license="cc4" from="Microsoft" modified="false" />The time at which the added object expires and is removed from the cache. If you are using sliding expiration, the <paramref name="absoluteExpiration" /> parameter must be <see cref="F:System.Web.Caching.Cache.NoAbsoluteExpiration" />.</param>
<param name="slidingExpiration">
<attribution license="cc4" from="Microsoft" modified="false" />The interval between the time the added object was last accessed and the time at which that object expires. If this value is the equivalent of 20 minutes, the object expires and is removed from the cache 20 minutes after it is last accessed. If you are using absolute expiration, the <paramref name="slidingExpiration" /> parameter must be <see cref="F:System.Web.Caching.Cache.NoSlidingExpiration" />.</param>
<param name="priority">
<attribution license="cc4" from="Microsoft" modified="false" />The relative cost of the object, as expressed by the <see cref="T:System.Web.Caching.CacheItemPriority" /> enumeration. The cache uses this value when it evicts objects; objects with a lower cost are removed from the cache before objects with a higher cost. </param>
<param name="onRemoveCallback">
<attribution license="cc4" from="Microsoft" modified="false" />A delegate that, if provided, is called when an object is removed from the cache. You can use this to notify applications when their objects are deleted from the cache.</param>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="Count">
<MemberSignature Language="C#" Value="public int Count { get; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<value>To be added: an object of type 'int'</value>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>This property can be useful when monitoring your application's performance or when using ASP.NET tracing functionality.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets the number of items stored in the cache.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="Get">
<MemberSignature Language="C#" Value="public object Get (string key);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Object</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="key" Type="System.String" />
</Parameters>
<Docs>
<remarks>To be added</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Retrieves the specified item from the <see cref="T:System.Web.Caching.Cache" /> object.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The retrieved cache item, or null if the key is not found.</para>
</returns>
<param name="key">
<attribution license="cc4" from="Microsoft" modified="false" />The identifier for the cache item to retrieve.</param>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="GetEnumerator">
<MemberSignature Language="C#" Value="public System.Collections.IDictionaryEnumerator GetEnumerator ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Collections.IDictionaryEnumerator</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Items can be added to or removed from the cache while this method is enumerating through the items.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Retrieves a dictionary enumerator used to iterate through the key settings and their values contained in the cache.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>An enumerator to iterate through the <see cref="T:System.Web.Caching.Cache" /> object.</para>
</returns>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="Insert">
<MemberSignature Language="C#" Value="public void Insert (string key, object value);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="key" Type="System.String" />
<Parameter Name="value" Type="System.Object" />
</Parameters>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>This method will overwrite an existing cache item whose key matches the <paramref name="key" /> parameter. The object added to the cache using this overload of the Insert method is inserted with no file or cache dependencies, a priority of <see cref="F:System.Web.Caching.CacheItemPriority.Default" />, a sliding expiration value of <see cref="F:System.Web.Caching.Cache.NoSlidingExpiration" />, and an absolute expiration value of <see cref="F:System.Web.Caching.Cache.NoAbsoluteExpiration" />.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Inserts an item into the <see cref="T:System.Web.Caching.Cache" /> object with a cache key to reference its location, using default values provided by the <see cref="T:System.Web.Caching.CacheItemPriority" /> enumeration.</para>
</summary>
<param name="key">
<attribution license="cc4" from="Microsoft" modified="false" />The cache key used to reference the item. </param>
<param name="value">
<attribution license="cc4" from="Microsoft" modified="false" />The object to be inserted into the cache.</param>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="Insert">
<MemberSignature Language="C#" Value="public void Insert (string key, object value, System.Web.Caching.CacheDependency dependencies);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="key" Type="System.String" />
<Parameter Name="value" Type="System.Object" />
<Parameter Name="dependencies" Type="System.Web.Caching.CacheDependency" />
</Parameters>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>This method will overwrite an existing cache item whose key matches the <paramref name="key" /> parameter. The object added to the cache using this overload of the Insert method is inserted with no file or cache dependencies, a priority of <see cref="F:System.Web.Caching.CacheItemPriority.Default" />, a sliding expiration value of <see cref="F:System.Web.Caching.Cache.NoSlidingExpiration" />, and an absolute expiration value of <see cref="F:System.Web.Caching.Cache.NoAbsoluteExpiration" />.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Inserts an object into the <see cref="T:System.Web.Caching.Cache" /> that has file or key dependencies.</para>
</summary>
<param name="key">
<attribution license="cc4" from="Microsoft" modified="false" />The cache key used to identify the item.</param>
<param name="value">
<attribution license="cc4" from="Microsoft" modified="false" />The object to be inserted in the cache.</param>
<param name="dependencies">
<attribution license="cc4" from="Microsoft" modified="false" />The file or cache key dependencies for the inserted object. When any dependency changes, the object becomes invalid and is removed from the cache. If there are no dependencies, this parameter contains null.</param>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="Insert">
<MemberSignature Language="C#" Value="public void Insert (string key, object value, System.Web.Caching.CacheDependency dependencies, DateTime absoluteExpiration, TimeSpan slidingExpiration);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="key" Type="System.String" />
<Parameter Name="value" Type="System.Object" />
<Parameter Name="dependencies" Type="System.Web.Caching.CacheDependency" />
<Parameter Name="absoluteExpiration" Type="System.DateTime" />
<Parameter Name="slidingExpiration" Type="System.TimeSpan" />
</Parameters>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>This method will overwrite an existing Cache item with the same <paramref name="key" /> parameter.</para>
<para>If the <paramref name="slidingExpiration" /> parameter is set to <see cref="F:System.Web.Caching.Cache.NoSlidingExpiration" />, sliding expiration is disabled. If you set the <paramref name="slidingExpiration" /> parameter to greater than <see cref="F:System.TimeSpan.Zero" />, the <paramref name="absoluteExpiration" /> parameter is set to <see cref="P:System.DateTime.Now" /> plus the value contained in the <paramref name="slidingExpiration" /> parameter. If the item is requested from the cache before the amount of time specified by the <paramref name="absoluteExpiration" /> parameter, the item will be placed in the cache again, and <paramref name="absoluteExpiration" /> will again be set to DateTime.Now plus the value contained in the <paramref name="slidingExpiration" /> parameter. If the item is not requested from the cache before the date in the <paramref name="absoluteExpiration" /> parameter, the item is removed from the cache. . The item added to the cache using this overload of the insert method is inserted with a priority of <see cref="F:System.Web.Caching.CacheItemPriority.Default" />.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Inserts an object into the <see cref="T:System.Web.Caching.Cache" /> with dependencies and expiration policies.</para>
</summary>
<param name="key">
<attribution license="cc4" from="Microsoft" modified="false" />The cache key used to reference the object. </param>
<param name="value">
<attribution license="cc4" from="Microsoft" modified="false" />The object to be inserted in the cache. </param>
<param name="dependencies">
<attribution license="cc4" from="Microsoft" modified="false" />The file or cache key dependencies for the inserted object. When any dependency changes, the object becomes invalid and is removed from the cache. If there are no dependencies, this parameter contains null.</param>
<param name="absoluteExpiration">
<attribution license="cc4" from="Microsoft" modified="false" />The time at which the inserted object expires and is removed from the cache. To avoid possible issues with local time such as changes from standard time to daylight saving time, use <see cref="P:System.DateTime.UtcNow" /> rather than <see cref="P:System.DateTime.Now" /> for this parameter value. If you are using absolute expiration, the <paramref name="slidingExpiration" /> parameter must be <see cref="F:System.Web.Caching.Cache.NoSlidingExpiration" />.</param>
<param name="slidingExpiration">
<attribution license="cc4" from="Microsoft" modified="false" />The interval between the time the inserted object is last accessed and the time at which that object expires. If this value is the equivalent of 20 minutes, the object will expire and be removed from the cache 20 minutes after it was last accessed. If you are using sliding expiration, the <paramref name="absoluteExpiration" /> parameter must be <see cref="F:System.Web.Caching.Cache.NoAbsoluteExpiration" />.</param>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="Insert">
<MemberSignature Language="C#" Value="public void Insert (string key, object value, System.Web.Caching.CacheDependency dependencies, DateTime absoluteExpiration, TimeSpan slidingExpiration, System.Web.Caching.CacheItemPriority priority, System.Web.Caching.CacheItemRemovedCallback onRemoveCallback);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="key" Type="System.String" />
<Parameter Name="value" Type="System.Object" />
<Parameter Name="dependencies" Type="System.Web.Caching.CacheDependency" />
<Parameter Name="absoluteExpiration" Type="System.DateTime" />
<Parameter Name="slidingExpiration" Type="System.TimeSpan" />
<Parameter Name="priority" Type="System.Web.Caching.CacheItemPriority" />
<Parameter Name="onRemoveCallback" Type="System.Web.Caching.CacheItemRemovedCallback" />
</Parameters>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>This method will overwrite an existing Cache item with the same <paramref name="key" /> parameter. </para>
<para>You cannot set both the <paramref name="absoluteExpiration" /> and <paramref name="slidingExpiration" /> parameters. If you intend the cache item to expire at a specific time, you set the <paramref name="absoluteExpiration" /> parameter to the specific time, and the <paramref name="slidingExpiration" /> parameter to <see cref="F:System.Web.Caching.Cache.NoSlidingExpiration" />.</para>
<para>If you intend the cache item to expire after a certain amount of time has passed since the last access to the item, you set the <paramref name="slidingExpiration" /> parameter to the expiration interval, and the <paramref name="absoluteExpiration" /> parameter to <see cref="F:System.Web.Caching.Cache.NoAbsoluteExpiration" />.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Inserts an object into the <see cref="T:System.Web.Caching.Cache" /> object with dependencies, expiration and priority policies, and a delegate you can use to notify your application when the inserted item is removed from the Cache.</para>
</summary>
<param name="key">
<attribution license="cc4" from="Microsoft" modified="false" />The cache key used to reference the object.</param>
<param name="value">
<attribution license="cc4" from="Microsoft" modified="false" />The object to be inserted in the cache.</param>
<param name="dependencies">
<attribution license="cc4" from="Microsoft" modified="false" />The file or cache key dependencies for the item. When any dependency changes, the object becomes invalid and is removed from the cache. If there are no dependencies, this parameter contains null.</param>
<param name="absoluteExpiration">
<attribution license="cc4" from="Microsoft" modified="false" />The time at which the inserted object expires and is removed from the cache. To avoid possible issues with local time such as changes from standard time to daylight saving time, use <see cref="P:System.DateTime.UtcNow" /> rather than <see cref="P:System.DateTime.Now" /> for this parameter value. If you are using absolute expiration, the <paramref name="slidingExpiration" /> parameter must be <see cref="F:System.Web.Caching.Cache.NoSlidingExpiration" />.</param>
<param name="slidingExpiration">
<attribution license="cc4" from="Microsoft" modified="false" />The interval between the time the inserted object was last accessed and the time at which that object expires. If this value is the equivalent of 20 minutes, the object will expire and be removed from the cache 20 minutes after it was last accessed. If you are using sliding expiration, the <paramref name="absoluteExpiration" /> parameter must be <see cref="F:System.Web.Caching.Cache.NoAbsoluteExpiration" />.</param>
<param name="priority">
<attribution license="cc4" from="Microsoft" modified="false" />The cost of the object relative to other items stored in the cache, as expressed by the <see cref="T:System.Web.Caching.CacheItemPriority" /> enumeration. This value is used by the cache when it evicts objects; objects with a lower cost are removed from the cache before objects with a higher cost.</param>
<param name="onRemoveCallback">
<attribution license="cc4" from="Microsoft" modified="false" />A delegate that, if provided, will be called when an object is removed from the cache. You can use this to notify applications when their objects are deleted from the cache.</param>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="Item">
<MemberSignature Language="C#" Value="public object this[string key] { set; get; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Object</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="key" Type="System.String" />
</Parameters>
<Docs>
<param name="key">To be added: an object of type 'string'</param>
<summary>To be added</summary>
<value>To be added: an object of type 'object'</value>
<remarks>To be added</remarks>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="NoAbsoluteExpiration">
<MemberSignature Language="C#" Value="public static readonly DateTime NoAbsoluteExpiration = 12/31/9999 11:59:59 PM;" />
<MemberType>Field</MemberType>
<ReturnValue>
<ReturnType>System.DateTime</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>When used, this field sets the <paramref name="absoluteExpiration" /> parameter equal to <see cref="F:System.DateTime.MaxValue" />, which is a constant representing the largest possible DateTime value, 12/31/9999 11:59:59 PM.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Used in the <paramref name="absoluteExpiration" /> parameter in an <see cref="M:System.Web.Caching.Cache.Insert(System.String,System.Object)" /> method call to indicate the item should never expire. This field is read-only.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<MemberValue>12/31/9999 11:59:59 PM</MemberValue>
</Member>
<Member MemberName="NoSlidingExpiration">
<MemberSignature Language="C#" Value="public static readonly TimeSpan NoSlidingExpiration;" />
<MemberType>Field</MemberType>
<ReturnValue>
<ReturnType>System.TimeSpan</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>When used, this field sets the <paramref name="slidingExpiration" /> parameter to the <see cref="F:System.TimeSpan.Zero" /> field, which has a constant value of zero. The cached item expires in accordance with the <paramref name="absoluteExpiration" /> parameter associated with the Insert or Add method call.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Used as the <paramref name="slidingExpiration" /> parameter in an <see cref="M:System.Web.Caching.Cache.Insert(System.String,System.Object)" /> or <see cref="M:System.Web.Caching.Cache.Add(System.String,System.Object,System.Web.Caching.CacheDependency,System.DateTime,System.TimeSpan,System.Web.Caching.CacheItemPriority,System.Web.Caching.CacheItemRemovedCallback)" /> method call to disable sliding expirations. This field is read-only.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="Remove">
<MemberSignature Language="C#" Value="public object Remove (string key);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Object</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="key" Type="System.String" />
</Parameters>
<Docs>
<remarks>To be added</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Removes the specified item from the application's <see cref="T:System.Web.Caching.Cache" /> object.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The item removed from the Cache. If the value in the key parameter is not found, returns null.</para>
</returns>
<param name="key">
<attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.String" /> identifier for the cache item to remove.</param>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="System.Collections.IEnumerable.GetEnumerator">
<MemberSignature Language="C#" Value="System.Collections.IEnumerator IEnumerable.GetEnumerator ();" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Collections.IEnumerator</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<remarks>To be added.</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Returns an enumerator that can iterate through the <see cref="T:System.Web.Caching.Cache" /> object collection.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>An enumerator that can iterate through the <see cref="T:System.Web.Caching.Cache" /> object collection.</para>
</returns>
</Docs>
</Member>
</Members>
</Type>
|