Search Results for

    Show / Hide Table of Contents

    Class TaskElement

    Represents configuration of a task.

    Inheritance
    object
    ConfigurationElement
    TaskElement
    Inherited Members
    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 TaskElement : ConfigurationElement

    Constructors

    TaskElement()

    Declaration
    public TaskElement()

    Properties

    Name

    Gets or sets the element's name. The name must be unique within configuration element collection.

    Declaration
    [ConfigurationProperty("name")]
    public string Name { get; set; }
    Property Value
    Type Description
    string

    Properties

    Gets collection of configuration element properties.

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

    TypeName

    Gets or sets fully qualified task type name.

    Declaration
    [ConfigurationProperty("type")]
    public string TypeName { get; set; }
    Property Value
    Type Description
    string

    Methods

    OnDeserializeUnrecognizedElement(string, XmlReader)

    Called when an unknown element is encountered while deserializing the ConfigurationElement object.

    Declaration
    protected override bool OnDeserializeUnrecognizedElement(string elementName, XmlReader reader)
    Parameters
    Type Name Description
    string elementName

    The name of the unknown sub-element.

    XmlReader reader

    The XmlReader being used for deserialization.

    Returns
    Type Description
    bool

    True when an unknown element is encountered while deserializing; otherwise, false. This method always returns true.

    Overrides
    ConfigurationElement.OnDeserializeUnrecognizedElement(string, XmlReader)
    Remarks

    See OnDeserializeUnrecognizedElement(string, XmlReader) method for more information.

    SerializeElement(XmlWriter, bool)

    Writes the contents of this configuration element to the configuration file. See SerializeElement(XmlWriter, bool) method for more information.

    Declaration
    protected override bool SerializeElement(XmlWriter writer, bool serializeCollectionKey)
    Parameters
    Type Name Description
    XmlWriter writer

    The XmlWriter that writes to the configuration file.

    bool serializeCollectionKey

    true to serialize only the collection key properties; otherwise, false.

    Returns
    Type Description
    bool

    True if any data was actually serialized; otherwise, false.

    Overrides
    ConfigurationElement.SerializeElement(XmlWriter, bool)
    In This Article
    Back to top Nevatech Sentinet 6.7 Online Documentation