Freigeben über


SamlAttributeStatement.WriteXml Methode

Definition

Schreibt die SAML-Attributanweisung in das angegebene XML-Serialisierungsprogramm.

public:
 override void WriteXml(System::Xml::XmlDictionaryWriter ^ writer, System::IdentityModel::Tokens::SamlSerializer ^ samlSerializer, System::IdentityModel::Selectors::SecurityTokenSerializer ^ keyInfoSerializer);
public override void WriteXml (System.Xml.XmlDictionaryWriter writer, System.IdentityModel.Tokens.SamlSerializer samlSerializer, System.IdentityModel.Selectors.SecurityTokenSerializer keyInfoSerializer);
override this.WriteXml : System.Xml.XmlDictionaryWriter * System.IdentityModel.Tokens.SamlSerializer * System.IdentityModel.Selectors.SecurityTokenSerializer -> unit
Public Overrides Sub WriteXml (writer As XmlDictionaryWriter, samlSerializer As SamlSerializer, keyInfoSerializer As SecurityTokenSerializer)

Parameter

writer
XmlDictionaryWriter

Ein XmlDictionaryWriter, um die SAML-Attributanweisung zu schreiben.

samlSerializer
SamlSerializer

Ein SamlSerializer, der XML-Elemente in eine SAML-Assertion schreiben kann.

keyInfoSerializer
SecurityTokenSerializer

Ein SecurityTokenSerializer, der KeyInfo-Klauseln schreiben kann.

Ausnahmen

writer ist gleich null.

- oder -

samlSerializer ist gleich null.

Gilt für: