HttpCachePolicyWrapper.SetVaryByCustom(String) Méthode

Définition

Spécifie une chaîne de texte pour faire varier les réponses de sortie mise en cache.

C#
public override void SetVaryByCustom (string custom);

Paramètres

custom
String

Chaîne de texte pour faire varier la sortie mise en cache.

Exceptions

custom a la valeur null.

La méthode SetVaryByCustom(String) a déjà été appelée.

S’applique à

Produit Versions
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8