Class ContactType
- Namespace
- ComponentSpace.Saml2.Metadata
- Assembly
- ComponentSpace.Saml2.dll
Represents the contact type.
public class ContactType
- Inheritance
-
ContactType
- Derived
- Inherited Members
Remarks
Refer to the Metadata for the OASIS Security Assertion Markup Language (SAML) V2.0 specification for further details.
Constructors
ContactType()
Initializes a new instance of the ContactType class.
public ContactType()
ContactType(XmlElement)
Initializes a new instance of the ContactType class from XML.
public ContactType(XmlElement xmlElement)
Parameters
xmlElementXmlElementThe contact type XML.
Exceptions
- SamlSerializationException
Thrown when the XML deserialization fails.
Properties
Company
Gets or sets the company name.
public Company Company { get; set; }
Property Value
- Company
The company name.
ContactTypeValue
Gets or sets the contact type.
public string ContactTypeValue { get; set; }
Property Value
- string
The contact type.
- See Also
EmailAddresses
Gets or sets the list of email addresses.
public IList<EmailAddress> EmailAddresses { get; set; }
Property Value
- IList<EmailAddress>
The list of email addresses.
Extensions
Gets or sets the extensions.
public Extensions Extensions { get; set; }
Property Value
- Extensions
The extensions.
GivenName
Gets or sets the given name.
public GivenName GivenName { get; set; }
Property Value
- GivenName
The company name.
Surname
Gets or sets the surname.
public Surname Surname { get; set; }
Property Value
- Surname
The surname.
TelephoneNumbers
Gets or sets the list of telephone numbers.
public IList<TelephoneNumber> TelephoneNumbers { get; set; }
Property Value
- IList<TelephoneNumber>
The list of telephone numbers.
Methods
ToXml(XmlElement)
Serializes the contact type to XML.
public void ToXml(XmlElement xmlElement)
Parameters
xmlElementXmlElementThe owning XML element.
Exceptions
- SamlSerializationException
Thrown when the XML serialization fails.