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á pensado para usarse directamente desde el código. Lo llama el sistema de configuración de ASP.NET. Para obtener una instancia de la CacheSection clase, use el GetSection método .

Se aplica a