SecurityTokenHandlerCollection.CanReadKeyIdentifierClauseCore(XmlReader) 方法

定义

返回指示指定的密钥标识符子句是否可以由集合中一个处理程序读取或是由基 WSSecurityTokenSerializer 读取的值。Returns a value that indicates whether the specified key identifier clause can be read by one of the handlers in the collection or by the base WSSecurityTokenSerializer.

protected:
 virtual bool CanReadKeyIdentifierClauseCore(System::Xml::XmlReader ^ reader);
protected virtual bool CanReadKeyIdentifierClauseCore (System.Xml.XmlReader reader);
abstract member CanReadKeyIdentifierClauseCore : System.Xml.XmlReader -> bool
override this.CanReadKeyIdentifierClauseCore : System.Xml.XmlReader -> bool
Protected Overridable Function CanReadKeyIdentifierClauseCore (reader As XmlReader) As Boolean

参数

reader
XmlReader

在开始元素上指定的 XML 读取器。An XML reader positioned at the start element. 不能将读取器前移。The reader should not be advanced.

返回

Boolean

如果可以读取密钥标识符子句,则为 true;否则为 falsetrue if the key identifier clause can be read; otherwise false.

适用于