HttpCachePolicyWrapper.SetVaryByCustom(String) 方法

定义

指定一个文本字符串,以更改缓存的输出响应。

public:
 override void SetVaryByCustom(System::String ^ custom);
public override void SetVaryByCustom(string custom);
override this.SetVaryByCustom : string -> unit
Public Overrides Sub SetVaryByCustom (custom As String)

参数

custom
String

要更改缓存输出的文本字符串。

例外

customnull

适用于