Class EndpointConfigurationElement
Defines an endpoint to connect to
Inheritance
System.Object
    EndpointConfigurationElement
      
      
  Namespace: ImageVault.Client.Configuration
Assembly: ImageVault.Client.dll
Syntax
public class EndpointConfigurationElement : ConfigurationElementConstructors
EndpointConfigurationElement()
Declaration
public EndpointConfigurationElement()Properties
Address
Get/Sets the Address of the EndpointConfigurationElement
Declaration
public virtual string Address { get; set; }Property Value
| Type | Description | 
|---|---|
| System.String | 
CertificateLocation
Gets the Certificate of the EndpointConfigurationElement
Declaration
public CertificateConfigurationElement CertificateLocation { get; }Property Value
| Type | Description | 
|---|---|
| CertificateConfigurationElement | 
Identity
Gets the Identity of the EndpointConfigurationElement
Declaration
public string Identity { get; set; }Property Value
| Type | Description | 
|---|---|
| System.String | 
ReuseHostAndSchemeFromContext
Get/Sets the AllowRelativeAddress of the EndpointConfigurationElement
Declaration
public bool ReuseHostAndSchemeFromContext { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Boolean | 
Methods
GetCurrentAddress(Uri)
Method for building the resulting url string depending on whether host and scheme shall be reused or not.
Declaration
public string GetCurrentAddress(Uri requestUri = null)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Uri | requestUri | 
Returns
| Type | Description | 
|---|---|
| System.String | The resulting url | 
Exceptions
| Type | Condition | 
|---|---|
| System.ApplicationException | If url needs to be relative when the attribute useRelativeAddress is true. or if unknown url . |