ASP.NET.in.a.Nutshell.Second.Edition [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

ASP.NET.in.a.Nutshell.Second.Edition [Electronic resources] - نسخه متنی

G. andrew Duthie; matthew Macdonald

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید









CacheItemRemovedCallbackserializable

System.Web.Caching (system.web.dll)delegate

Functions with the CacheItemRemovedCallback
signature can be used to respond to the
onRemoveCallback when an item is dropped from the
cache. For example, this could allow you to perform related cleanup
tasks. You are provided with the cache object, its key, and the
reason why it was removed (using the
CacheItemRemovedReason enumeration).

To specify that a given method should be used for the
onRemoveCallback, create a
CacheItemRemovedCallback delegate that points to
the method, and pass it as an argument to the Cache.Insert(
)
method.

public delegate void 

CacheItemRemovedCallback (string

key , object

value , CacheItemRemovedReason

reason );



Passed To


Cache.{Add( ), Insert( )}


/ 873