Class SubjectQueryAbstractType
Represents the subject query abstract type.
Inheritance
System.Object
SubjectQueryAbstractType
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
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 |
---|---|---|
System.Xml.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 |
---|---|---|
System.Xml.XmlElement | xmlElement | The owning XML element. |
Overrides
Exceptions
Type | Condition |
---|---|
SAMLSerializationException | Thrown when the XML serialization fails. |