HttpCachePolicyBase.SetVaryByCustom(String) 方法
定义
在派生类中重写时,指定一个文本字符串,它用于改变缓存的输出响应。When overridden in a derived class, specifies a text string to vary cached output responses by.
public:
virtual void SetVaryByCustom(System::String ^ custom);
public virtual void SetVaryByCustom (string custom);
abstract member SetVaryByCustom : string -> unit
override this.SetVaryByCustom : string -> unit
Public Overridable Sub SetVaryByCustom (custom As String)
参数
- custom
- String
用于改变已缓存的输出的文本字符串。The text string to vary cached output by.
例外
始终。Always.