Επεξεργασία

Κοινή χρήση μέσω


SessionSecurityToken.ContextId Property

Definition

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.

Applies to

See also