Share via


Saml2Serializer.WriteSubject(XmlWriter, Saml2Subject) Method

Definition

Writes the <saml:Subject> element.

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

Parameters

writer
XmlWriter

A XmlWriter to serialize the Saml2Subject.

subject
Saml2Subject

The Saml2Subject to serialize.

Applies to