Class StatusDetail
Represents status detail.
Inherited Members
Namespace: ComponentSpace.SAML2.Protocols
Assembly: ComponentSpace.Saml2.dll
Syntax
public class StatusDetail
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.
Declaration
public StatusDetail()
StatusDetail(XmlElement)
Initializes a new instance of the StatusDetail class from XML.
Declaration
public StatusDetail(XmlElement xmlElement)
Parameters
| Type | Name | Description |
|---|---|---|
| XmlElement | xmlElement | The status detail XML. |
Exceptions
| Type | Condition |
|---|---|
| SAMLSerializationException | Thrown when the XML deserialization fails. |
Properties
Details
Gets or sets the details.
Declaration
public XmlNodeList Details { get; set; }
Property Value
| Type | Description |
|---|---|
| XmlNodeList | The details. |
Methods
IsValid(XmlElement)
Indicates whether the XML is a status detail.
Declaration
public static bool IsValid(XmlElement xmlElement)
Parameters
| Type | Name | Description |
|---|---|---|
| XmlElement | xmlElement | The XML to test. |
Returns
| Type | Description |
|---|---|
| bool |
|
ToXml(XmlDocument)
Serializes the status detail to XML.
Declaration
public XmlElement ToXml(XmlDocument xmlDocument)
Parameters
| Type | Name | Description |
|---|---|---|
| XmlDocument | xmlDocument | The owning XML document. |
Returns
| Type | Description |
|---|---|
| XmlElement | The status detail as XML. |
Exceptions
| Type | Condition |
|---|---|
| SAMLSerializationException | Thrown when the XML serialization fails. |