HttpCachePolicyWrapper.SetVaryByCustom(String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
指定一個文字字串,以變化快取的輸出回應。
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
文字字串會變化快取輸出。
例外狀況
custom 是 null。
方法 SetVaryByCustom(String) 已經被呼叫過了。