CacheControlHeaderValue.Private 属性

定义

是否全部或部分 HTTP 响应消息用于单个用户,且不能由共享缓存进行缓存。Whether all or part of the HTTP response message is intended for a single user and must not be cached by a shared cache.

public:
 property bool Private { bool get(); void set(bool value); };
public bool Private { get; set; }
member this.Private : bool with get, set
Public Property Private As Boolean

属性值

Boolean

如果全部或部分 HTTP 响应消息用于单个用户,且不能由共享缓存进行缓存,则为 true,反之则为 falsetrue if the HTTP response message is intended for a single user and must not be cached by a shared cache; otherwise, false.

注解

此属性表示 HTTP 响应的缓存控制标头字段中的 "private" 指令。This property represents the "private" directive in a cache-control header field on an HTTP response.

适用于