Compartilhar via


SamlSubject.WriteXml Método

Definição

Grava o elemento <saml:Subject> no serializador XML especificado.

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)

Parâmetros

writer
XmlDictionaryWriter

Um XmlDictionaryWriter para gravar o elemento <saml:Subject>.

samlSerializer
SamlSerializer

Um SamlSerializer que é capaz de gravar elementos XML em uma asserção SAML.

keyInfoSerializer
SecurityTokenSerializer

Um SecurityTokenSerializer que é capaz de gravar cláusulas KeyInfo.

Comentários

Use o WriteXml(XmlDictionaryWriter, SamlSerializer, SecurityTokenSerializer) método para gravar as propriedades da instância atual SamlSubject em um <saml:Subject> elemento .

Aplica-se a