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(int, bool)
Initializes a new instance of the IndexedEndpointType class.
Declaration
public IndexedEndpointType(int index, bool isDefault)
Parameters
| Type | Name | Description |
|---|---|---|
| int | index | The index. |
| bool | isDefault | The is default flag. |
IndexedEndpointType(string, string, string, int, bool)
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 |
|---|---|---|
| string | binding | The binding. |
| string | location | The location. |
| string | responseLocation | The response location. |
| int | index | The index. |
| bool | 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 |
|---|---|---|
| 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 |
|---|---|
| int | The index. |
IsDefault
Gets or sets the is default flag.
Declaration
public bool IsDefault { get; set; }
Property Value
| Type | Description |
|---|---|
| bool | The is default flag. |
Methods
ToXml(XmlElement)
Serializes the index endpoint to XML.
Declaration
public override void ToXml(XmlElement xmlElement)
Parameters
| Type | Name | Description |
|---|---|---|
| XmlElement | xmlElement | The owning XML element. |
Overrides
Exceptions
| Type | Condition |
|---|---|
| SAMLSerializationException | Thrown when the XML serialization fails. |