Compartir a través de


Saml2SecurityTokenHandler.WriteNameId(XmlWriter, Saml2NameIdentifier) Método

Definición

Escribe el elemento <saml:NameID>.

protected:
 virtual void WriteNameId(System::Xml::XmlWriter ^ writer, System::IdentityModel::Tokens::Saml2NameIdentifier ^ data);
protected virtual void WriteNameId (System.Xml.XmlWriter writer, System.IdentityModel.Tokens.Saml2NameIdentifier data);
abstract member WriteNameId : System.Xml.XmlWriter * System.IdentityModel.Tokens.Saml2NameIdentifier -> unit
override this.WriteNameId : System.Xml.XmlWriter * System.IdentityModel.Tokens.Saml2NameIdentifier -> unit
Protected Overridable Sub WriteNameId (writer As XmlWriter, data As Saml2NameIdentifier)

Parámetros

writer
XmlWriter

XmlWriter con que se serializa Saml2NameIdentifier.

data
Saml2NameIdentifier

Saml2NameIdentifier que se va a serializar.

Excepciones

data es null.

O bien

writer es null.

Las credenciales de cifrado Saml2NameIdentifier deben tener una clave simétrica especificada.

Se aplica a