Saml2SecurityTokenHandler.WriteNameId(XmlWriter, Saml2NameIdentifier) Método

Definição

Grava o 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

O XmlWriter com a qual serializar o Saml2NameIdentifier.

data
Saml2NameIdentifier

O Saml2NameIdentifier a ser serializado.

Exceções

data é null.

- ou -

writer é null.

As credenciais de criptografia Saml2NameIdentifier devem ter uma chave simétrica especificada.

Aplica-se a