OutputCacheSection.DefaultProviderName 属性

定义

获取或设置 ASP.NET 默认输出缓存提供程序的名称,该提供程序存储在配置文件的 OutputCacheSection 元素中。Gets or sets the name of the ASP.NET default output-cache provider that is stored in the OutputCacheSection element of a configuration file.

public:
 property System::String ^ DefaultProviderName { System::String ^ get(); void set(System::String ^ value); };
[System.Configuration.ConfigurationProperty("defaultProvider", DefaultValue=Mono.Cecil.CustomAttributeArgument)]
[System.Configuration.StringValidator(MinLength=1)]
public string DefaultProviderName { get; set; }
member this.DefaultProviderName : string with get, set
Public Property DefaultProviderName As String

属性值

默认提供程序的名称。The name of the default provider.

属性

注解

ASP.NET 的默认输出缓存提供程序不是类型OutputCacheProvider的提供程序。The default output-cache provider for ASP.NET is not a provider of type OutputCacheProvider. 它是 ASP.NET 用于输出缓存的原始内存中提供程序。It is the original, in-memory provider that is used by ASP.NET for output caching. 默认值为 AspNetInternalProviderThe default value is AspNetInternalProvider.

适用于