WSSecurityTokenSerializer.WriteTokenCore(XmlWriter, SecurityToken) Método

Definición

Escribe el núcleo del token con un token de seguridad especificado utilizando el XmlWriterespecificado.Writes the token core with a specified security token using the specified XmlWriter.

protected:
 override void WriteTokenCore(System::Xml::XmlWriter ^ writer, System::IdentityModel::Tokens::SecurityToken ^ inToken);
protected:
 override void WriteTokenCore(System::Xml::XmlWriter ^ writer, System::IdentityModel::Tokens::SecurityToken ^ token);
protected override void WriteTokenCore (System.Xml.XmlWriter writer, System.IdentityModel.Tokens.SecurityToken inToken);
protected override void WriteTokenCore (System.Xml.XmlWriter writer, System.IdentityModel.Tokens.SecurityToken token);
override this.WriteTokenCore : System.Xml.XmlWriter * System.IdentityModel.Tokens.SecurityToken -> unit
override this.WriteTokenCore : System.Xml.XmlWriter * System.IdentityModel.Tokens.SecurityToken -> unit
Protected Overrides Sub WriteTokenCore (writer As XmlWriter, inToken As SecurityToken)
Protected Overrides Sub WriteTokenCore (writer As XmlWriter, token As SecurityToken)

Parámetros

writer
XmlWriter

XmlWriter especificado.The specified XmlWriter.

inTokentoken
SecurityToken

Token de seguridad.The security token.

Excepciones

Se produjo un error al serializar el token de seguridad.An error occurred when serializing the security token.

El token no se escribió correctamente.The token was not successfully written.

Se aplica a