Share via


CacheSection Constructor

Definición

Inicializa una nueva instancia de la clase CacheSection.

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

Ejemplos

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)

Comentarios

El CacheSection constructor no está diseñado para usarse directamente desde el código. El sistema de configuración de ASP.NET llama a él. Puede obtener una instancia de la CacheSection clase mediante el GetSection método .

Se aplica a