SecurityTokenSerializer.WriteTokenCore(XmlWriter, SecurityToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Writes the specified security token using the specified XML writer. Called by the base class.
protected:
abstract void WriteTokenCore(System::Xml::XmlWriter ^ writer, System::IdentityModel::Tokens::SecurityToken ^ token);
protected abstract void WriteTokenCore (System.Xml.XmlWriter writer, System.IdentityModel.Tokens.SecurityToken token);
abstract member WriteTokenCore : System.Xml.XmlWriter * System.IdentityModel.Tokens.SecurityToken -> unit
Protected MustOverride Sub WriteTokenCore (writer As XmlWriter, token As SecurityToken)
Parameters
- token
- SecurityToken
A SecurityToken that represents the security token to write.
Exceptions
Remarks
Classes that derive from the SecurityTokenSerializer class must override the WriteTokenCore(XmlWriter, SecurityToken) method. The WriteToken(XmlWriter, SecurityToken) method calls the WriteTokenCore(XmlWriter, SecurityToken) method.
Applies to
Comentários
https://aka.ms/ContentUserFeedback.
Em breve: Ao longo de 2024, eliminaremos os problemas do GitHub como o mecanismo de comentários para conteúdo e o substituiremos por um novo sistema de comentários. Para obter mais informações, consulteEnviar e exibir comentários de