HttpCachePolicy.GetRevalidation 方法

定義

取得 Cache-Control︰此標頭可反映 must-revalidate 或 proxy-revalidate 指令。Gets the Cache-Control: header to reflect either the must-revalidate or proxy-revalidate directives.

public:
 System::Web::HttpCacheRevalidation GetRevalidation();
public System.Web.HttpCacheRevalidation GetRevalidation ();
member this.GetRevalidation : unit -> System.Web.HttpCacheRevalidation
Public Function GetRevalidation () As HttpCacheRevalidation

傳回

HttpCacheRevalidation

Cache-Control︰此標頭可反映 must-revalidate 或 proxy-revalidate 指令。The Cache-Control: header to reflect either the must-revalidate or proxy-revalidate directives.

備註

除非使用此方法明確啟用,否則預設值為不傳送任何這些指示詞。The default is to not send either of these directives unless explicitly enabled using this method.

適用於