Export (0) Print
Expand All

SessionSecurityTokenCache.AddOrUpdate Method

.NET Framework 4.6 and 4.5

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

Namespace:  System.IdentityModel.Tokens
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

public abstract void AddOrUpdate(
	SessionSecurityTokenCacheKey key,
	SessionSecurityToken value,
	DateTime expiryTime
)

Parameters

key
Type: System.IdentityModel.Tokens.SessionSecurityTokenCacheKey

The key of the entry to be added or updated.

value
Type: System.IdentityModel.Tokens.SessionSecurityToken

The token associated with the entry.

expiryTime
Type: System.DateTime

The expiration time of the entry.

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft