SecurityContextSecurityTokenResolver.AddContext Method

Definition

Adds a security context security token to the token cache.

public:
 virtual void AddContext(System::ServiceModel::Security::Tokens::SecurityContextSecurityToken ^ token);
public void AddContext (System.ServiceModel.Security.Tokens.SecurityContextSecurityToken token);
abstract member AddContext : System.ServiceModel.Security.Tokens.SecurityContextSecurityToken -> unit
override this.AddContext : System.ServiceModel.Security.Tokens.SecurityContextSecurityToken -> unit
Public Sub AddContext (token As SecurityContextSecurityToken)

Parameters

token
SecurityContextSecurityToken

The security context token.

Implements

Exceptions

The RemoveOldestTokensOnCacheFull property is false and the cache capacity has been reached or exceeded.

Applies to