ISecurityContextSecurityTokenCache.TryAddContext Methode

Definitie

Probeert een token toe te voegen aan de cache.

public:
 bool TryAddContext(System::ServiceModel::Security::Tokens::SecurityContextSecurityToken ^ token);
public bool TryAddContext(System.ServiceModel.Security.Tokens.SecurityContextSecurityToken token);
abstract member TryAddContext : System.ServiceModel.Security.Tokens.SecurityContextSecurityToken -> bool
Public Function TryAddContext (token As SecurityContextSecurityToken) As Boolean

Parameters

Retouren

true als het token is toegevoegd aan de cache; anders, false.

Uitzonderingen

token is null.

token datum of tijd valt buiten de limieten.

Van toepassing op