Partager via


Saml2SecurityTokenHandler.WriteNameIdType Méthode

Définition

<Issuer> et <NameID> sont tous les deux de type NameIDType. Cette méthode écrit le contenu d'un de ces éléments.

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)

Paramètres

writer
XmlWriter

XmlWriter avec lequel sérialiser le type NameID.

Exceptions

data a la valeur null.

-ou-

writer a la valeur null.

S’applique à