ערוך

שתף באמצעות


SessionSecurityTokenCache.AddOrUpdate Method

Definition

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

public:
 abstract void AddOrUpdate(System::IdentityModel::Tokens::SessionSecurityTokenCacheKey ^ key, System::IdentityModel::Tokens::SessionSecurityToken ^ value, DateTime expiryTime);
public abstract void AddOrUpdate (System.IdentityModel.Tokens.SessionSecurityTokenCacheKey key, System.IdentityModel.Tokens.SessionSecurityToken value, DateTime expiryTime);
abstract member AddOrUpdate : System.IdentityModel.Tokens.SessionSecurityTokenCacheKey * System.IdentityModel.Tokens.SessionSecurityToken * DateTime -> unit
Public MustOverride Sub AddOrUpdate (key As SessionSecurityTokenCacheKey, value As SessionSecurityToken, expiryTime As DateTime)

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