Condividi tramite


CacheSection Costruttore

Definizione

Inizializza una nuova istanza della classe CacheSection.

public:
 CacheSection();
public CacheSection ();
Public Sub New ()

Esempio

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)

Commenti

Il CacheSection costruttore non deve essere usato direttamente dal codice. Viene chiamato dal sistema di configurazione ASP.NET. Per ottenere un'istanza della CacheSection classe, usare il GetSection metodo .

Si applica a