Edit

Share via


SessionSecurityToken.ContextId Property

Definition

Gets the session context identifier.

C#
public System.Xml.UniqueId ContextId { get; }

Property Value

The session context identifier.

Remarks

The context identifier is unique across all session tokens.

The SessionSecurityTokenCacheKey class uses both the context ID and the key generation to generate a key for the token in the SessionSecurityTokenCache.

The SessionSecurityTokenHandler class serializes this property as the <Identifier> child element of the <wsc:SecurityContextToken> element. For more information, see the documentation for the SessionSecurityTokenHandler.WriteToken method.

Applies to

Product Versions
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also