Class LocalizedURIType
Represents the localized URI type.
Inherited Members
Namespace: ComponentSpace.SAML2.Metadata
Assembly: ComponentSpace.Saml2.dll
Syntax
public class LocalizedURIType
Remarks
Refer to the Metadata for the OASIS Security Assertion Markup Language (SAML) V2.0 specification for further details.
Constructors
LocalizedURIType()
Initializes a new instance of the LocalizedURIType
class.
Declaration
public LocalizedURIType()
LocalizedURIType(string, string)
Initializes a new instance of the LocalizedURIType
class.
Declaration
public LocalizedURIType(string uri, string language)
Parameters
Type | Name | Description |
---|---|---|
string | uri | The URI. |
string | language | The language. |
LocalizedURIType(XmlElement)
Initializes a new instance of the LocalizedURIType
class from XML.
Declaration
public LocalizedURIType(XmlElement xmlElement)
Parameters
Type | Name | Description |
---|---|---|
XmlElement | xmlElement | The localized URI XML. |
Exceptions
Type | Condition |
---|---|
SAMLSerializationException | Thrown when the XML deserialization fails. |
Properties
Language
Gets or sets the language.
Declaration
public string Language { get; set; }
Property Value
Type | Description |
---|---|
string | The language. |
URI
Gets or sets the URI.
Declaration
public string URI { get; set; }
Property Value
Type | Description |
---|---|
string | The URI. |
Methods
ToXml(XmlElement)
Serializes the localized URI to XML.
Declaration
public void ToXml(XmlElement xmlElement)
Parameters
Type | Name | Description |
---|---|---|
XmlElement | xmlElement | The owning XML element. |
Exceptions
Type | Condition |
---|---|
SAMLSerializationException | Thrown when the XML serialization fails. |