ISecurityContextSecurityTokenCache.UpdateContextCachingTime 方法

定义

更新缓存中令牌的过期日期。

public:
 void UpdateContextCachingTime(System::ServiceModel::Security::Tokens::SecurityContextSecurityToken ^ context, DateTime expirationTime);
public void UpdateContextCachingTime (System.ServiceModel.Security.Tokens.SecurityContextSecurityToken context, DateTime expirationTime);
abstract member UpdateContextCachingTime : System.ServiceModel.Security.Tokens.SecurityContextSecurityToken * DateTime -> unit
Public Sub UpdateContextCachingTime (context As SecurityContextSecurityToken, expirationTime As DateTime)

参数

expirationTime
DateTime

新的过期时间和日期。

适用于