Class ContactType
Represents the contact type.
Inherited Members
Namespace: ComponentSpace.SAML2.Metadata
Assembly: ComponentSpace.Saml2.dll
Syntax
public class ContactType
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.
Declaration
public ContactType()
ContactType(XmlElement)
Initializes a new instance of the ContactType
class from XML.
Declaration
public ContactType(XmlElement xmlElement)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlElement | xmlElement | The contact type XML. |
Exceptions
Type | Condition |
---|---|
SAMLSerializationException | Thrown when the XML deserialization fails. |
Properties
Company
Gets or sets the company name.
Declaration
public string Company { get; set; }
Property Value
Type | Description |
---|---|
System.String | The company name. |
ContactTypeValue
Gets or sets the contact type.
Declaration
public string ContactTypeValue { get; set; }
Property Value
Type | Description |
---|---|
System.String | The contact type. |
See Also
EmailAddresses
Gets or sets the list of email addresses.
Declaration
public IList<string> EmailAddresses { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<System.String> | The list of email addresses. |
Extensions
Gets or sets the extensions.
Declaration
public Extensions Extensions { get; set; }
Property Value
Type | Description |
---|---|
Extensions | The extensions. |
GivenName
Gets or sets the given name.
Declaration
public string GivenName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The company name. |
Surname
Gets or sets the surname.
Declaration
public string Surname { get; set; }
Property Value
Type | Description |
---|---|
System.String | The surname. |
TelephoneNumbers
Gets or sets the list of telephone numbers.
Declaration
public IList<string> TelephoneNumbers { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<System.String> | The list of telephone numbers. |
Methods
ToXml(XmlElement)
Serializes the contact type to XML.
Declaration
public void ToXml(XmlElement xmlElement)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlElement | xmlElement | The owning XML element. |
Exceptions
Type | Condition |
---|---|
SAMLSerializationException | Thrown when the XML serialization fails. |