HttpCachePolicyWrapper::SetOmitVaryStar Method (Boolean)

 

Specifies whether the response contains the vary:* header when varying by parameters.

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)

public:
virtual void SetOmitVaryStar(
	bool omit
) override

Parameters

omit
Type: System::Boolean

true to direct the HttpCachePolicy object to not use the * value for its VaryByHeaders property; otherwise, false.

.NET Framework
Available since 3.5
Return to top
Show: