OutputCachePolicyBuilder.SetVaryByHeader メソッド

定義

オーバーロード

SetVaryByHeader(String, String[])

キャッシュされた応答をヘッダーごとに変更するポリシーを追加します。

SetVaryByHeader(String[])

キャッシュされた応答をヘッダーごとに変更するポリシーを追加します。

SetVaryByHeader(String, String[])

ソース:
OutputCachePolicyBuilder.cs

キャッシュされた応答をヘッダーごとに変更するポリシーを追加します。

public Microsoft.AspNetCore.OutputCaching.OutputCachePolicyBuilder SetVaryByHeader (string headerName, params string[] headerNames);
member this.SetVaryByHeader : string * string[] -> Microsoft.AspNetCore.OutputCaching.OutputCachePolicyBuilder
Public Function SetVaryByHeader (headerName As String, ParamArray headerNames As String()) As OutputCachePolicyBuilder

パラメーター

headerName
String

キャッシュされた応答を変更するヘッダー名。

headerNames
String[]

キャッシュされた応答を変更する追加のヘッダー名。

戻り値

適用対象

SetVaryByHeader(String[])

ソース:
OutputCachePolicyBuilder.cs

キャッシュされた応答をヘッダーごとに変更するポリシーを追加します。

public Microsoft.AspNetCore.OutputCaching.OutputCachePolicyBuilder SetVaryByHeader (string[] headerNames);
member this.SetVaryByHeader : string[] -> Microsoft.AspNetCore.OutputCaching.OutputCachePolicyBuilder
Public Function SetVaryByHeader (headerNames As String()) As OutputCachePolicyBuilder

パラメーター

headerNames
String[]

キャッシュされた応答を変更するヘッダー名。

戻り値

適用対象