Aracılığıyla paylaş


CacheSection Oluşturucu

Tanım

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.

Şunlara uygulanır