HttpCachePolicyWrapper.SetVaryByCustom Method (String)
.NET Framework (current version)
Specifies a text string to vary cached output responses by.
Assembly: System.Web (in System.Web.dll)
Parameters
- custom
-
Type:
System.String
The text string to vary cached output by.
| Exception | Condition |
|---|---|
| ArgumentNullException | custom is null. |
| InvalidOperationException | The SetVaryByCustom method has already been called. |
.NET Framework
Available since 3.5
Available since 3.5
Show: