HttpCachePolicyWrapper.SetOmitVaryStar(Boolean) 方法
定义
指定在按参数进行区分时,响应是否包含 vary: 标头。Specifies whether the response contains the vary: header when varying by parameters.
public:
override void SetOmitVaryStar(bool omit);
public override void SetOmitVaryStar (bool omit);
override this.SetOmitVaryStar : bool -> unit
Public Overrides Sub SetOmitVaryStar (omit As Boolean)
参数
- omit
- Boolean
如果指示 HttpCachePolicy 对象不对其 VaryByHeaders 属性使用 * 值,则为 true;否则为 false。true to direct the HttpCachePolicy object to not use the * value for its VaryByHeaders property; otherwise, false.