Freigeben über


SamlAdvice.WriteXml Methode

Definition

Schreibt diesen SamlAdvice als <saml:Advice>-Element in den angegebenen XML-Writer.

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

Ein XmlDictionaryWriter zum Schreiben des <saml:Advice>-Elements.

samlSerializer
SamlSerializer

Ein SamlSerializer, das das <saml:Advice>-Element und seine untergeordneten Elemente und Attribute schreiben kann, die in der SAML-Spezifikation definiert sind.

keyInfoSerializer
SecurityTokenSerializer

Ein SecurityTokenSerializer, der KeyInfo-Klauseln schreiben kann.

Ausnahmen

writer ist gleich null.

- oder -

samlSerializer ist gleich null.

Gilt für: