Compartir a través de


Saml2SecurityTokenHandler.WriteNameIdType Método

Definición

Tanto <Issuer> como <NameID> son de NameIDType. Este método escribe el contenido de cualquiera de esos elementos.

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

Parámetros

writer
XmlWriter

XmlWriter con el que se va a serializar el tipo NameID.

data
Saml2NameIdentifier

Saml2NameIdentifier que se va a escribir.

Excepciones

data es null.

O bien

writer es null.

Se aplica a