Freigeben über


SamlAttribute.WriteXml Methode

Definition

Schreibt das SAML-Attribut in das angegebene XML-Serialisierungsprogramm.

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

Parameter

writer
XmlDictionaryWriter

Eine XmlDictionaryWriter zum Schreiben des SAML-Attributs.

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 null.

- oder -

samlSerializer ist null.

Gilt für: