SessionSecurityToken.ContextId Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the session context identifier.
public:
property System::Xml::UniqueId ^ ContextId { System::Xml::UniqueId ^ get(); };
public System.Xml.UniqueId ContextId { get; }
member this.ContextId : System.Xml.UniqueId
Public ReadOnly Property ContextId As UniqueId
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.