Class IndexedEndpointType
Represents the indexed endpoint type.
Inherited Members
Namespace: ComponentSpace.SAML2.Metadata
Assembly: ComponentSpace.Saml2.dll
Syntax
public class IndexedEndpointType : EndpointType
Remarks
Refer to the Metadata for the OASIS Security Assertion Markup Language (SAML) V2.0 specification for further details.
Constructors
IndexedEndpointType()
Initializes a new instance of the IndexedEndpointType
class.
Declaration
public IndexedEndpointType()
IndexedEndpointType(Int32, Boolean)
Initializes a new instance of the IndexedEndpointType
class.
Declaration
public IndexedEndpointType(int index, bool isDefault)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The index. |
System.Boolean | isDefault | The is default flag. |
IndexedEndpointType(String, String, String, Int32, Boolean)
Initializes a new instance of the IndexedEndpointType
class.
Declaration
public IndexedEndpointType(string binding, string location, string responseLocation, int index, bool isDefault)
Parameters
Type | Name | Description |
---|---|---|
System.String | binding | The binding. |
System.String | location | The location. |
System.String | responseLocation | The response location. |
System.Int32 | index | The index. |
System.Boolean | isDefault | The is default flag. |
IndexedEndpointType(XmlElement)
Initializes a new instance of the IndexedEndpointType
class from XML.
Declaration
public IndexedEndpointType(XmlElement xmlElement)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlElement | xmlElement | The endpoint XML. |
Exceptions
Type | Condition |
---|---|
SAMLSerializationException | Thrown when the XML deserialization fails. |
Properties
Index
Gets or sets the index.
Declaration
public int Index { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The index. |
IsDefault
Gets or sets the is default flag.
Declaration
public bool IsDefault { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The is default flag. |
Methods
ToXml(XmlElement)
Serializes the index endpoint to XML.
Declaration
public override void ToXml(XmlElement xmlElement)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlElement | xmlElement | The owning XML element. |
Overrides
Exceptions
Type | Condition |
---|---|
SAMLSerializationException | Thrown when the XML serialization fails. |