Class SubjectQueryAbstractType
- Namespace
- ComponentSpace.Saml2.Protocols
- Assembly
- ComponentSpace.Saml2.dll
Represents the subject query abstract type.
public abstract class SubjectQueryAbstractType : RequestAbstractType
- Inheritance
-
SubjectQueryAbstractType
- Derived
- Inherited Members
Remarks
Refer to the Assertions and Protocol for the OASIS Security Assertion Markup Language (SAML) V2.0 specification for further details.
Constructors
SubjectQueryAbstractType()
Initializes a new instance of the SubjectQueryAbstractType class.
public SubjectQueryAbstractType()
SubjectQueryAbstractType(Subject)
Initializes a new instance of the SubjectQueryAbstractType class.
public SubjectQueryAbstractType(Subject subject)
Parameters
subjectSubjectThe subject.
SubjectQueryAbstractType(XmlElement)
Initializes a new instance of the SubjectQueryAbstractType class from XML.
public SubjectQueryAbstractType(XmlElement xmlElement)
Parameters
xmlElementXmlElementThe subject query XML.
Exceptions
- SamlSerializationException
Thrown when the XML deserialization fails.
Properties
Subject
Gets or sets the subject.
public Subject Subject { get; set; }
Property Value
- Subject
The subject.
Methods
ToXml(XmlElement)
Serializes the subject query to XML.
public override void ToXml(XmlElement xmlElement)
Parameters
xmlElementXmlElementThe owning XML element.
Exceptions
- SamlSerializationException
Thrown when the XML serialization fails.