Class NodeElement
Represents the node configuration.
Inheritance
Namespace: Nevatech.Vsb.Repository.Configuration
Assembly: Nevatech.Vsb.Repository.dll
Syntax
public sealed class NodeElement : ConfigurationElement
Constructors
NodeElement()
Declaration
public NodeElement()
Fields
AbortUpdateOnAnyFailureAttributeName
Name of the attribute representing AbortUpdateOnAnyFailure property in the node element.
Declaration
public const string AbortUpdateOnAnyFailureAttributeName = "abortUpdateOnAnyFailure"
Field Value
Type | Description |
---|---|
System.String |
CacheFolderNameAttributeName
Name of the attribute representing CacheFolderName property in the node element.
Declaration
public const string CacheFolderNameAttributeName = "cacheFolderName"
Field Value
Type | Description |
---|---|
System.String |
EncryptCacheAttributeName
Name of the attribute representing EncryptCache property in the node element.
Declaration
public const string EncryptCacheAttributeName = "encryptCache"
Field Value
Type | Description |
---|---|
System.String |
InstanceAttributeName
Name of the attribute representing Instance property in the node element.
Declaration
public const string InstanceAttributeName = "instance"
Field Value
Type | Description |
---|---|
System.String |
IsAutonomousAttributeName
Name of the attribute representing IsAutonomous property in the node element.
Declaration
public const string IsAutonomousAttributeName = "autonomous"
Field Value
Type | Description |
---|---|
System.String |
KeyAttributeName
Name of the attribute representing Key property in the node element.
Declaration
public const string KeyAttributeName = "key"
Field Value
Type | Description |
---|---|
System.String |
MaxReceiveRetriesAttributeName
Name of the attribute representing MaxReceiveRetries property in the node element.
Declaration
public const string MaxReceiveRetriesAttributeName = "maxReceiveRetries"
Field Value
Type | Description |
---|---|
System.String |
Properties
AbortUpdateOnAnyFailure
Gets or sets flag indicating that node should keep running on current configuration until all service and product configurations are successfully downloaded.
Declaration
public bool AbortUpdateOnAnyFailure { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
CacheFolderName
Gets or sets the name of the sub-folder used to store node's configuration cache. If not set then node's key is used as the folder name.
Declaration
public string CacheFolderName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
EncryptCache
Gets or sets flag indicating that node configuration cache file needs to be encrypted.
Declaration
public bool EncryptCache { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Instance
Gets or sets the node instance name. If not set then instance name is assigned automatially.
Declaration
public string Instance { get; set; }
Property Value
Type | Description |
---|---|
System.String |
IsAutonomous
Gets or sets flag indicating that node runs in disconnected mode without communicating with Repository Service. If it is set to true, the node uses its cached configuration and drops collected monitoring data.
Declaration
public bool IsAutonomous { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Key
Gets or sets the node key. This property is required.
Declaration
public Guid Key { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
MaxReceiveRetries
Gets or sets the number of subsequent configuration retrieve retry attempts before aborting. This applies to node, service, file, and product configuration retrieval requests. Default is 1.
Declaration
public int MaxReceiveRetries { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Properties
Gets collection of configuration element properties.
Declaration
protected override ConfigurationPropertyCollection Properties { get; }
Property Value
Type | Description |
---|---|
System.Configuration.ConfigurationPropertyCollection |