ISecurityContextSecurityTokenCache.GetContext(UniqueId, UniqueId) Method

Definition

Gets the security context security token ID that matches a specified context ID and generation.

public:
 System::ServiceModel::Security::Tokens::SecurityContextSecurityToken ^ GetContext(System::Xml::UniqueId ^ contextId, System::Xml::UniqueId ^ generation);
public System.ServiceModel.Security.Tokens.SecurityContextSecurityToken GetContext (System.Xml.UniqueId contextId, System.Xml.UniqueId generation);
abstract member GetContext : System.Xml.UniqueId * System.Xml.UniqueId -> System.ServiceModel.Security.Tokens.SecurityContextSecurityToken
Public Function GetContext (contextId As UniqueId, generation As UniqueId) As SecurityContextSecurityToken

Parameters

contextId
UniqueId

The specified security context ID.

generation
UniqueId

A UniqueId that represents the generation.

Returns

The matching SecurityContextSecurityToken.

Applies to