Partilhar via


SamlSecurityTokenHandler.WriteSubject(XmlWriter, SamlSubject) Método

Definição

Grava o elemento <saml:Subject>.

protected:
 virtual void WriteSubject(System::Xml::XmlWriter ^ writer, System::IdentityModel::Tokens::SamlSubject ^ subject);
protected virtual void WriteSubject (System.Xml.XmlWriter writer, System.IdentityModel.Tokens.SamlSubject subject);
abstract member WriteSubject : System.Xml.XmlWriter * System.IdentityModel.Tokens.SamlSubject -> unit
override this.WriteSubject : System.Xml.XmlWriter * System.IdentityModel.Tokens.SamlSubject -> unit
Protected Overridable Sub WriteSubject (writer As XmlWriter, subject As SamlSubject)

Parâmetros

writer
XmlWriter

O XmlWriter com o qual gravar os dados.

subject
SamlSubject

Os dados a serem gravados.

Exceções

subject é null.

- ou -

writer é null.

Aplica-se a