ISecureConversationSession.TryReadSessionTokenIdentifier(XmlReader) 方法
定义
尝试读取 XML 读取器所指向的会话令牌标识符。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
参数
返回
如果 XML 读取器所指向的 XML 与匹配安全会话令牌的 true 相对应,则为 SecurityKeyIdentifierClause;否则为 false。true if the XML pointed to by the XML reader corresponds to a SecurityKeyIdentifierClause that matches the security session's token; otherwise, false.
注解
此方法对于一些会话(如建立在安全会话顶部的 WS-RM 会话)很有用,并引用安全会话令牌的标识符作为其会话建立协议的一部分。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.