Прочетете на английски Редактиране

Споделяне чрез


SessionSecurityTokenCache.AddOrUpdate Method

Definition

When overridden in a derived class, attempts to add an entry to the cache or update an existing one.

C#
public abstract void AddOrUpdate(System.IdentityModel.Tokens.SessionSecurityTokenCacheKey key, System.IdentityModel.Tokens.SessionSecurityToken value, DateTime expiryTime);

Parameters

key
SessionSecurityTokenCacheKey

The key of the entry to be added or updated.

value
SessionSecurityToken

The token associated with the entry.

expiryTime
DateTime

The expiration time of the entry.

Applies to

Продукт Версии
.NET Framework 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