CacheSection Oluşturucu
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
CacheSection sınıfının yeni bir örneğini başlatır.
public:
CacheSection();
public CacheSection ();
Public Sub New ()
Örnekler
System.Web.Configuration.CacheSection cacheSection =
(System.Web.Configuration.CacheSection)config.GetSection(
"system.web/caching/cache");
Dim cacheSection As System.Web.Configuration.CacheSection =
CType(config.GetSection("system.web/caching/cache"), System.Web.Configuration.CacheSection)
Açıklamalar
Oluşturucunun CacheSection doğrudan kodunuzdan kullanılması amaçlanmamıştır. ASP.NET yapılandırma sistemi tarafından çağrılır. yöntemini kullanarak sınıfının bir örneğini CacheSection GetSection alırsınız.