Class AffiliateMember
- Namespace
- ComponentSpace.Saml2.Metadata
- Assembly
- ComponentSpace.Saml2.dll
Represents an affiliate member.
public class AffiliateMember : EntityIDType
- Inheritance
-
AffiliateMember
- Inherited Members
Remarks
Refer to the Metadata for the OASIS Security Assertion Markup Language (SAML) V2.0 specification for further details.
Constructors
AffiliateMember()
Initializes a new instance of the AffiliationDescriptor class.
public AffiliateMember()
AffiliateMember(XmlElement)
Initializes a new instance of the AffiliationDescriptor class from XML.
public AffiliateMember(XmlElement xmlElement)
Parameters
xmlElementXmlElementThe affiliation descriptor XML.
Exceptions
- SamlSerializationException
Thrown when the XML deserialization fails.
Methods
IsValid(XmlElement)
Indicates whether the XML is an affiliate member.
public static bool IsValid(XmlElement xmlElement)
Parameters
xmlElementXmlElementThe XML to test.
Returns
- bool
trueif the XML is an affiliate member; otherwisefalse.
ToXml(XmlDocument)
Serializes the affiliation descriptor to XML.
public XmlElement ToXml(XmlDocument xmlDocument)
Parameters
xmlDocumentXmlDocumentThe owning XML document.
Returns
- XmlElement
The affiliation descriptor as XML.
Exceptions
- SamlSerializationException
Thrown when the XML serialization fails.