Udostępnij za pośrednictwem


SamlAttribute.WriteXml Metoda

Definicja

Zapisuje atrybut SAML w określonym serializatorze XML.

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)

Parametry

writer
XmlDictionaryWriter

A XmlDictionaryWriter do zapisania atrybutu SAML.

samlSerializer
SamlSerializer

Obiekt SamlSerializer , który może zapisywać elementy XML w asercji SAML.

keyInfoSerializer
SecurityTokenSerializer

Element SecurityTokenSerializer , który jest w stanie pisać KeyInfo klauzule.

Wyjątki

writer to null.

-lub-

samlSerializer to null.

Dotyczy