Saml2Serializer.WriteSubject(XmlWriter, Saml2Subject) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.