Redigera

Dela via


ISecureConversationSession.TryReadSessionTokenIdentifier(XmlReader) Method

Definition

Tries to read the session token identifier pointed to by the XML reader.

public:
 bool TryReadSessionTokenIdentifier(System::Xml::XmlReader ^ reader);
public bool TryReadSessionTokenIdentifier (System.Xml.XmlReader reader);
abstract member TryReadSessionTokenIdentifier : System.Xml.XmlReader -> bool
Public Function TryReadSessionTokenIdentifier (reader As XmlReader) As Boolean

Parameters

reader
XmlReader

The XmlReader with which to try to read the token.

Returns

true if the XML pointed to by the XML reader corresponds to a SecurityKeyIdentifierClause that matches the security session's token; otherwise, false.

Remarks

This method is useful for sessions like WS-RM sessions that build on top of the security session and refer to the security session token's identifier as part of their session establishment protocol.

Applies to