Condividi tramite


Saml2SecurityTokenHandler.WriteNameId(XmlWriter, Saml2NameIdentifier) Metodo

Definizione

Scrive l'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)

Parametri

writer
XmlWriter

XmlWriter con cui serializzare Saml2NameIdentifier.

data
Saml2NameIdentifier

Elemento Saml2NameIdentifier da serializzare.

Eccezioni

data è null.

-oppure-

writer è null.

Per le credenziali di crittografia Saml2NameIdentifier deve essere specificata una chiave simmetrica.

Si applica a