Freigeben über


SamlAudienceRestrictionCondition.WriteXml Methode

Definition

Schreibt das <AudienceRestrictionCondition>-Element 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 zum Schreiben des <AudienceRestrictionCondition>-Elements.

samlSerializer
SamlSerializer

Ein SamlSerializer, der XML-Elemente in die SAML-Assertion schreiben kann, die in der SAML-Spezifikation angegeben ist.

keyInfoSerializer
SecurityTokenSerializer

Ein SecurityTokenSerializer, der KeyInfo-Klauseln schreiben kann.

Ausnahmen

writer ist null.

- oder -

samlSerializer ist null.

Gilt für: