HttpCachePolicy.GetMaxAge 方法

定义

获取 Cache-Control 最长时间。Gets the cache-control max age.

public:
 TimeSpan GetMaxAge();
public TimeSpan GetMaxAge ();
member this.GetMaxAge : unit -> TimeSpan
Public Function GetMaxAge () As TimeSpan

返回

TimeSpan

Cache-Control 最长时间。The cache-control max age.

适用于