OutputCacheSection.DefaultProviderName 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定儲存在組態檔案中 OutputCacheSection 元素中的 ASP.NET 預設輸出快取提供者名稱。
public:
property System::String ^ DefaultProviderName { System::String ^ get(); void set(System::String ^ value); };
[System.Configuration.ConfigurationProperty("defaultProvider", DefaultValue="AspNetInternalProvider")]
[System.Configuration.StringValidator(MinLength=1)]
public string DefaultProviderName { get; set; }
[<System.Configuration.ConfigurationProperty("defaultProvider", DefaultValue="AspNetInternalProvider")>]
[<System.Configuration.StringValidator(MinLength=1)>]
member this.DefaultProviderName : string with get, set
Public Property DefaultProviderName As String
屬性值
預設服務提供者的名稱。
- 屬性
備註
ASP.NET 的預設輸出快取提供者不是類型為 OutputCacheProvider。 它是 ASP.NET 用於輸出快取的原始記憶體內提供者。 預設值為 AspNetInternalProvider。