Class StatusDetail
- Namespace
- ComponentSpace.Saml2.Protocols
- Assembly
- ComponentSpace.Saml2.dll
Represents status detail.
public class StatusDetail
- Inheritance
-
StatusDetail
- Inherited Members
Remarks
Refer to the Assertions and Protocol for the OASIS Security Assertion Markup Language (SAML) V2.0 specification for further details.
Constructors
StatusDetail()
Initializes a new instance of the StatusDetail class.
public StatusDetail()
StatusDetail(XmlElement)
Initializes a new instance of the StatusDetail class from XML.
public StatusDetail(XmlElement xmlElement)
Parameters
xmlElementXmlElementThe status detail XML.
Exceptions
- SamlSerializationException
Thrown when the XML deserialization fails.
Properties
Details
Gets or sets the details.
public IEnumerable<XmlElement> Details { get; set; }
Property Value
- IEnumerable<XmlElement>
The details.
Methods
IsValid(XmlElement)
Indicates whether the XML is a status detail.
public static bool IsValid(XmlElement xmlElement)
Parameters
xmlElementXmlElementThe XML to test.
Returns
- bool
trueif the XML is a status detail; otherwisefalse.
ToXml(XmlDocument)
Serializes the status detail to XML.
public XmlElement ToXml(XmlDocument xmlDocument)
Parameters
xmlDocumentXmlDocumentThe owning XML document.
Returns
- XmlElement
The status detail as XML.
Exceptions
- SamlSerializationException
Thrown when the XML serialization fails.