SecurityTokenSerializer.CanReadKeyIdentifierCore(XmlReader) Método

Definição

Determina se este serializador pode ler o elemento <KeyIdentifier> referenciado pelo leitor de XML especificado.Determines whether this serializer can read the <KeyIdentifier> element referred to by the specified XML reader. Chamado pela classe base.Called by the base class.

protected:
 abstract bool CanReadKeyIdentifierCore(System::Xml::XmlReader ^ reader);
protected abstract bool CanReadKeyIdentifierCore (System.Xml.XmlReader reader);
abstract member CanReadKeyIdentifierCore : System.Xml.XmlReader -> bool
Protected MustOverride Function CanReadKeyIdentifierCore (reader As XmlReader) As Boolean

Parâmetros

reader
XmlReader

Um XmlReader para ler o identificador de chave.An XmlReader to read the key identifier.

Retornos

Boolean

true quando a cláusula do identificador de chave especificada pode ser lida, caso contrário, false.true when the specified key identifier clause can be read; otherwise, false.

Exceções

reader é null.reader is null.

Comentários

As classes que derivam da SecurityTokenSerializer classe devem substituir o CanReadKeyIdentifierCore(XmlReader) método.Classes that derive from the SecurityTokenSerializer class must override the CanReadKeyIdentifierCore(XmlReader) method. O CanReadKeyIdentifier(XmlReader) método chama o CanReadKeyIdentifierCore método.The CanReadKeyIdentifier(XmlReader) method calls the CanReadKeyIdentifierCore method.

Aplica-se a