HttpCachePolicyBase::SetOmitVaryStar Method (Boolean)
.NET Framework (current version)
When overridden in a derived class, specifies whether the response contains the vary:* header when caching varies by parameters.
Assembly: System.Web (in System.Web.dll)
Parameters
- omit
-
Type:
System::Boolean
true to direct the HttpCachePolicy object not to use the * value for its VaryByHeaders property; otherwise, false.
| Exception | Condition |
|---|---|
| NotImplementedException | Always. |
.NET Framework
Available since 3.5
Available since 3.5
Show: