Search Results for

    Show / Hide Table of Contents

    Class AgentSection

    Represents the task scheduling engine configuration section.

    Inheritance
    object
    ConfigurationElement
    ConfigurationSection
    AgentSection
    Inherited Members
    ConfigurationSection.SectionInformation
    ConfigurationElement.IsReadOnly()
    ConfigurationElement.Equals(object)
    ConfigurationElement.GetHashCode()
    ConfigurationElement.LockAttributes
    ConfigurationElement.LockAllAttributesExcept
    ConfigurationElement.LockElements
    ConfigurationElement.LockAllElementsExcept
    ConfigurationElement.LockItem
    ConfigurationElement.ElementInformation
    ConfigurationElement.CurrentConfiguration
    object.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    Namespace: Nevatech.Vsb.Repository.Configuration
    Assembly: Nevatech.Vsb.Repository.dll
    Syntax
    public sealed class AgentSection : ConfigurationSection

    Constructors

    AgentSection()

    Declaration
    public AgentSection()

    Fields

    CertificateAuthorityElementName

    Name of the element representing X.509 certificate authority property in the configuration element.

    Declaration
    public const string CertificateAuthorityElementName = "certificateAuthority"
    Field Value
    Type Description
    string

    SectionName

    Name of the section in configuration file.

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

    SmtpElementName

    Name of the element providing SMTP client configuration settings.

    Declaration
    public const string SmtpElementName = "smtp"
    Field Value
    Type Description
    string

    Properties

    CertificateAuthority

    Gets element containing configuration of the X.509 Certificate Authority.

    Declaration
    [ConfigurationProperty("certificateAuthority")]
    public CertificateAuthorityElement CertificateAuthority { get; }
    Property Value
    Type Description
    CertificateAuthorityElement

    Current

    Gets currently loaded repository configuration.

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

    Properties

    Gets collection of configuration element properties.

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

    Smtp

    Gets element containing the SMTP client configuration settings.

    Declaration
    [ConfigurationProperty("smtp")]
    public SmtpElement Smtp { get; }
    Property Value
    Type Description
    SmtpElement

    Tasks

    Gets the collection of TaskElement elements configured in this section.

    Declaration
    [ConfigurationProperty("tasks", IsRequired = false, IsDefaultCollection = true)]
    public TaskElementCollection Tasks { get; }
    Property Value
    Type Description
    TaskElementCollection

    Methods

    GetSection(Configuration)

    Gets the repository configuration section from the specified configuration.

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

    The configuration to get the routing section from.

    Returns
    Type Description
    AgentSection

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

    In This Article
    Back to top Nevatech Sentinet 6.7 Online Documentation