ISecurityContextSecurityTokenCache.TryAddContext Méthode

Définition

Tente d'ajouter un jeton au cache.

C#
public bool TryAddContext(System.ServiceModel.Security.Tokens.SecurityContextSecurityToken token);

Paramètres

Retours

true si le jeton a été correctement ajouté au cache ; sinon, false.

Exceptions

token a la valeur null.

La date ou l'heure du token se situent hors des limites.

S’applique à

Produit Versions
.NET Framework 3.0, 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, 4.8.1