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

方法 SetVaryByCustom(String) 已經被呼叫過了。

適用於