Show / Hide Table of Contents

Class ContactType

Represents the contact type.

Inheritance
System.Object
ContactType
ContactPerson
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
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
ContactTypeValue

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.

In This Article
Back to top Copyright © ComponentSpace Pty Ltd 2004-2022. All rights reserved.