Show / Hide Table of Contents

    Class TaskElementCollection

    Represents collection of TaskElement elements in the application configuration.

    Inheritance
    Object
    ConfigurationElementCollectionBase<TaskElement>
    TaskElementCollection
    Implements
    IList<TaskElement>
    ICollection<TaskElement>
    IEnumerable<TaskElement>
    IEnumerable
    Inherited Members
    ConfigurationElementCollectionBase<TaskElement>.SerializeElement(XmlWriter, Boolean)
    ConfigurationElementCollectionBase<TaskElement>.IndexOf(TaskElement)
    ConfigurationElementCollectionBase<TaskElement>.Insert(Int32, TaskElement)
    ConfigurationElementCollectionBase<TaskElement>.RemoveAt(Int32)
    ConfigurationElementCollectionBase<TaskElement>.Add(TaskElement)
    ConfigurationElementCollectionBase<TaskElement>.Clear()
    ConfigurationElementCollectionBase<TaskElement>.Contains(TaskElement)
    ConfigurationElementCollectionBase<TaskElement>.CopyTo(TaskElement[], Int32)
    ConfigurationElementCollectionBase<TaskElement>.Remove(TaskElement)
    ConfigurationElementCollectionBase<TaskElement>.GetEnumerator()
    ConfigurationElementCollectionBase<TaskElement>.Item[Int32]
    ConfigurationElementCollectionBase<TaskElement>.IsReadOnly
    Namespace: Nevatech.Vsb.Agent.Configuration
    Assembly: Nevatech.Vsb.Agent.dll
    Syntax
    public sealed class TaskElementCollection : ConfigurationElementCollectionBase<TaskElement>, IList<TaskElement>, ICollection<TaskElement>, IEnumerable<TaskElement>, IEnumerable

    Constructors

    TaskElementCollection()

    Declaration
    public TaskElementCollection()

    Properties

    SaveOnExit

    Gets or sets flag indicating that tasks configuration has to be saved when agent process is closed.

    Declaration
    public bool SaveOnExit { get; set; }
    Property Value
    Type Description
    Boolean

    Methods

    CreateNewElement()

    Creates new instance of TaskElement.

    Declaration
    protected override ConfigurationElement CreateNewElement()
    Returns
    Type Description
    ConfigurationElement

    Not initialized instance of TaskElement class.

    GetElementKey(ConfigurationElement)

    Gets the element key for a specified configuration element.

    Declaration
    protected override object GetElementKey(ConfigurationElement element)
    Parameters
    Type Name Description
    ConfigurationElement element

    The ConfigurationElement to return the key for.

    Returns
    Type Description
    Object

    An object that acts as the key for the specified ConfigurationElement.

    Overrides
    Nevatech.Vsb.Repository.Configuration.ConfigurationElementCollectionBase<Nevatech.Vsb.Agent.Configuration.TaskElement>.GetElementKey(System.Configuration.ConfigurationElement)
    Exceptions
    Type Condition
    ArgumentNullException

    Thrown, if the specified element is a null reference.

    ArgumentException

    Thrown, if the specified element is of wrong type.

    Implements

    System.Collections.Generic.IList<T>
    System.Collections.Generic.ICollection<T>
    System.Collections.Generic.IEnumerable<T>
    System.Collections.IEnumerable
    Back to top Nevatech Sentinet 6.5 Online Documentation