Search Results for

    Show / Hide Table of Contents

    Class TaskElementCollection

    Represents collection of TaskElement elements in the application configuration.

    Inheritance
    object
    ConfigurationElement
    ConfigurationElementCollection
    ConfigurationElementCollectionBase<TaskElement>
    TaskElementCollection
    Implements
    ICollection
    IList<TaskElement>
    ICollection<TaskElement>
    IEnumerable<TaskElement>
    IEnumerable
    Inherited Members
    ConfigurationElementCollectionBase<TaskElement>.IndexOf(TaskElement)
    ConfigurationElementCollectionBase<TaskElement>.Insert(int, TaskElement)
    ConfigurationElementCollectionBase<TaskElement>.RemoveAt(int)
    ConfigurationElementCollectionBase<TaskElement>.Add(TaskElement)
    ConfigurationElementCollectionBase<TaskElement>.Clear()
    ConfigurationElementCollectionBase<TaskElement>.Contains(TaskElement)
    ConfigurationElementCollectionBase<TaskElement>.CopyTo(TaskElement[], int)
    ConfigurationElementCollectionBase<TaskElement>.Remove(TaskElement)
    ConfigurationElementCollectionBase<TaskElement>.GetEnumerator()
    ConfigurationElementCollectionBase<TaskElement>.this[int]
    ConfigurationElementCollectionBase<TaskElement>.IsReadOnly
    ConfigurationElementCollection.Equals(object)
    ConfigurationElementCollection.GetHashCode()
    ConfigurationElementCollection.CopyTo(ConfigurationElement[], int)
    ConfigurationElementCollection.Count
    ConfigurationElementCollection.EmitClear
    ConfigurationElementCollection.IsSynchronized
    ConfigurationElementCollection.SyncRoot
    ConfigurationElementCollection.CollectionType
    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
    [ConfigurationCollection(typeof(TaskElementCollection), AddItemName = "task")]
    public sealed class TaskElementCollection : ConfigurationElementCollectionBase<TaskElement>, ICollection, 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
    [ConfigurationProperty("saveOnExit", DefaultValue = false)]
    public bool SaveOnExit { get; set; }
    Property Value
    Type Description
    bool

    Methods

    CreateNewElement()

    Creates new instance of TaskElement.

    Declaration
    protected override ConfigurationElement CreateNewElement()
    Returns
    Type Description
    ConfigurationElement

    Not initialized instance of TaskElement class.

    Overrides
    ConfigurationElementCollection.CreateNewElement()

    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
    ConfigurationElementCollectionBase<TaskElement>.GetElementKey(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

    ICollection
    IList<T>
    ICollection<T>
    IEnumerable<T>
    IEnumerable
    In This Article
    Back to top Nevatech Sentinet 6.7 Online Documentation