Sdílet prostřednictvím


SamlSubject.WriteXml Metoda

Definice

Zapíše <saml:Subject> element do zadaného XML serializátoru.

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 pro zápis elementu <saml:Subject> .

samlSerializer
SamlSerializer

Objekt SamlSerializer , který je schopen psát elementy XML v kontrolním výrazu SAML.

keyInfoSerializer
SecurityTokenSerializer

A SecurityTokenSerializer , který je schopen psát KeyInfo klauzule.

Poznámky

WriteXml(XmlDictionaryWriter, SamlSerializer, SecurityTokenSerializer) Pomocí metody zapište vlastnosti aktuální SamlSubject instance do elementu<saml:Subject>.

Platí pro