Table of Contents

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

xmlElement XmlElement

The 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

xmlElement XmlElement

The XML to test.

Returns

bool

true if the XML is a status detail; otherwise false.

ToXml(XmlDocument)

Serializes the status detail to XML.

public XmlElement ToXml(XmlDocument xmlDocument)

Parameters

xmlDocument XmlDocument

The owning XML document.

Returns

XmlElement

The status detail as XML.

Exceptions

SamlSerializationException

Thrown when the XML serialization fails.