Class SubjectQueryAbstractType
Represents the subject query abstract type.
Inheritance
SubjectQueryAbstractType
Inherited Members
Namespace: ComponentSpace.SAML2.Protocols
Assembly: ComponentSpace.Saml2.dll
Syntax
public abstract class SubjectQueryAbstractType : RequestAbstractType
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.
Declaration
public SubjectQueryAbstractType()
SubjectQueryAbstractType(Subject)
Initializes a new instance of the SubjectQueryAbstractType class.
Declaration
public SubjectQueryAbstractType(Subject subject)
Parameters
| Type | Name | Description |
|---|---|---|
| Subject | subject | The subject. |
SubjectQueryAbstractType(XmlElement)
Initializes a new instance of the SubjectQueryAbstractType class from XML.
Declaration
public SubjectQueryAbstractType(XmlElement xmlElement)
Parameters
| Type | Name | Description |
|---|---|---|
| XmlElement | xmlElement | The subject query XML. |
Exceptions
| Type | Condition |
|---|---|
| SAMLSerializationException | Thrown when the XML deserialization fails. |
Properties
Subject
Gets or sets the subject.
Declaration
public Subject Subject { get; set; }
Property Value
| Type | Description |
|---|---|
| Subject | The subject. |
Methods
ToXml(XmlElement)
Serializes the subject query to XML.
Declaration
public override void ToXml(XmlElement xmlElement)
Parameters
| Type | Name | Description |
|---|---|---|
| XmlElement | xmlElement | The owning XML element. |
Overrides
Exceptions
| Type | Condition |
|---|---|
| SAMLSerializationException | Thrown when the XML serialization fails. |