Muokkaa

Jaa


SamlAdvice.WriteXml Method

Definition

Writes this SamlAdvice into the specified XML writer as an <saml:Advice> element.

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)

Parameters

writer
XmlDictionaryWriter

A XmlDictionaryWriter to write the <saml:Advice> element.

samlSerializer
SamlSerializer

A SamlSerializer that is capable of writing the <saml:Advice> element and its child elements and attributes that are defined in the SAML specification.

keyInfoSerializer
SecurityTokenSerializer

A SecurityTokenSerializer that is capable of writing KeyInfo clauses.

Exceptions

writer is null

-or-

samlSerializer is null

Applies to