Show / Hide Table of Contents

    Class RuntimeSection

    Represents the node runtime configuration section.

    Inheritance
    Object
    RuntimeSection
    Namespace: Nevatech.Vsb.Repository.Configuration
    Assembly: Nevatech.Vsb.Repository.dll
    Syntax
    public sealed class RuntimeSection : ConfigurationSection

    Constructors

    RuntimeSection()

    Declaration
    public RuntimeSection()

    Fields

    CachingElementName

    Name of the element representing Caching property in the configuration section.

    Declaration
    public const string CachingElementName = "caching"
    Field Value
    Type Description
    String

    InstanceSynchronizationElementName

    Name of the element representing InstanceSynchronization property in the configuration section.

    Declaration
    public const string InstanceSynchronizationElementName = "instanceSynchronization"
    Field Value
    Type Description
    String

    MonitoringElementName

    Name of the element representing Monitoring property in the configuration section.

    Declaration
    public const string MonitoringElementName = "monitoring"
    Field Value
    Type Description
    String

    NodeElementName

    Name of the element representing Node property in the configuration section.

    Declaration
    public const string NodeElementName = "node"
    Field Value
    Type Description
    String

    ProtectionCertificateElementName

    Name of the element representing the protected value decryption certificate in the configuration element.

    Declaration
    public const string ProtectionCertificateElementName = "protectionCertificate"
    Field Value
    Type Description
    String

    SectionName

    Name of the section in configuration file.

    Declaration
    public const string SectionName = "nevatech.vsb.runtime"
    Field Value
    Type Description
    String

    Properties

    Caching

    Gets the node's caching configuration.

    Declaration
    public CachingElement Caching { get; }
    Property Value
    Type Description
    CachingElement

    Current

    Gets currently loaded runtime configuration.

    Declaration
    public static RuntimeSection Current { get; }
    Property Value
    Type Description
    RuntimeSection

    InstanceSynchronization

    Gets the configuration related to the node instances synchronization during configuration updates.

    Declaration
    public InstanceSynchronizationElement InstanceSynchronization { get; }
    Property Value
    Type Description
    InstanceSynchronizationElement

    Monitoring

    Gets the node's monitoring configuration.

    Declaration
    public RuntimeMonitoringElement Monitoring { get; }
    Property Value
    Type Description
    RuntimeMonitoringElement

    Node

    Gets the node's generic properties.

    Declaration
    public NodeElement Node { get; }
    Property Value
    Type Description
    NodeElement

    Properties

    Gets collection of configuration element properties.

    Declaration
    protected override ConfigurationPropertyCollection Properties { get; }
    Property Value
    Type Description
    ConfigurationPropertyCollection

    ProtectionCertificate

    Gets or sets configuration element containing location of the X.509 certificate used to decrypt the protected message processing context properties. If not specified then the hard-coded symmetrical key is used instead.

    Declaration
    public X509DefaultServiceCertificateElement ProtectionCertificate { get; }
    Property Value
    Type Description
    X509DefaultServiceCertificateElement

    Methods

    GetSection(Configuration)

    Gets the routing configuration section from the specified configuration.

    Declaration
    public static RuntimeSection GetSection(Configuration config)
    Parameters
    Type Name Description
    Configuration config

    The configuration to get the routing section from.

    Returns
    Type Description
    RuntimeSection

    The routing configuration section stored in provided configuration, or new empty instance of the section, if provided configuration does not contain it.

    Exceptions
    Type Condition
    ArgumentNullException

    Thrown if the specified config is a null reference.

    Back to top Nevatech Sentinet 6.5 Online Documentation