Export (0) Print
Expand All

TaskDefinition Class

IIS 7.0

Represents a single task that defines a transformation process.

System..::..Object
  Microsoft.Web.Media.TransformManager..::..ConfigurationBase
    Microsoft.Web.Media.TransformManager..::..TaskDefinition

Namespace:  Microsoft.Web.Media.TransformManager
Assembly:  Microsoft.Web.Media.TransformManager.Common (in Microsoft.Web.Media.TransformManager.Common.dll)

[SerializableAttribute]
[DataContractAttribute]
public class TaskDefinition : ConfigurationBase

The TaskDefinition type exposes the following members.

  NameDescription
Public methodTaskDefinition(FileInfo, XElement)Initializes a new instance of the TaskDefinition class by using the specified file information and task definition.
Public methodTaskDefinition(FileInfo, XElement, XElement)Initializes a new instance of the TaskDefinition class by using the specified file information, task definition, and default task definition.
Top

  NameDescription
Public propertyBaseNamespaceGets or sets the XML namespace for the configuration. (Inherited from ConfigurationBase.)
Public propertyCommandLineGets or sets a command line for the task.
Public propertyCommandLineArchitectureGets or sets the architecture of the command-line executable.
Public propertyConfigurationDirectoryGets the path to the task definition configuration file.
Public propertyConfigurationMessagesGets or sets a list of IIS Transform Manager configuration messages. (Inherited from ConfigurationBase.)
Public propertyConfigurationMessagesElementGets or sets an XML element that contains configuration messages for the IIS Transform Manager configuration. (Inherited from ConfigurationBase.)
Public propertyConfigurationStatusGets or sets the IIS Transform Manager configuration status. (Inherited from ConfigurationBase.)
Public propertyCopyrightGets or sets the copyright string that has been supplied by the task author.
Public propertyDescriptionGets or sets a description of the IIS Transform Manager configuration. (Inherited from ConfigurationBase.)
Public propertyDescriptionElementGets or set the XML element that contains the description of the IIS Transform Manager configuration. (Inherited from ConfigurationBase.)
Public propertyFileNameGets or sets the name of the task definition configuration file.
Public propertyIdGets or sets the XML element ID of a configuration object. (Inherited from ConfigurationBase.)
Public propertyIdElementGets or sets the XML ID element of a configuration object. (Inherited from ConfigurationBase.)
Public propertyInputFolderGets or sets the folder name to append to the working directory in order to find input files.
Public propertyIsExecutableGets or sets a value that specifies whether the type of task is an executable or an ITask interface.
Public propertyLastModifiedGets or sets the date and time when the IIS Transform Manager configuration was last modified. (Inherited from ConfigurationBase.)
Public propertyLogLevelGets or sets a value that represents the level of detail for a log that is contained in the log level element of the IIS Transform Manager configuration. (Inherited from ConfigurationBase.)
Public propertyLogLevelElementGets or sets an XML element that contains log level details. (Inherited from ConfigurationBase.)
Public propertyNameGets or sets the XML element name of the IIS Transform Manager configuration. (Inherited from ConfigurationBase.)
Public propertyNameElementGets or sets an XML element that contains name details. (Inherited from ConfigurationBase.)
Public propertyOutputFolderGets or sets the folder name to append to the working directory in order to write output files.
Public propertyPropertiesGets or sets a collection of the properties that are defined for the current task.
Public propertyPropertyNamespaceGets or sets a property namespace for the current task.
Public propertyPropertyNamespacePrefixGets or sets a prefix for the property namespace of the current task.
Public propertySuccessCodesGets or sets a set of codes that indicate whether the task completed successfully.
Public propertyTaskCodeTypeGets or sets the task type.
Public propertyTaskDefinitionElementGets or sets the XElement object container of the template file.
Public propertyTaskTypeArchitectureGets or sets the architecture of the task type, if the command-line executable is architecture specific.
Top

  NameDescription
Public methodAddConfigurationMessage(String)Adds the specified message to the IIS Transform Manager configuration. (Inherited from ConfigurationBase.)
Public methodAddConfigurationMessage(String, ConfigurationMessageSeverity)Adds the specified message to the IIS Transform Manager configuration using the specified severity value. (Inherited from ConfigurationBase.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodRemoveRestartWarningMessageRemoves the restart warning message from the IIS Transform Manager configuration. (Inherited from ConfigurationBase.)
Public methodSaveSaves a task definition object to a configuration file.
Public methodToString (Inherited from Object.)
Top

  NameDescription
Public fieldStatic memberidElementNameRepresents a constant that is used when assigning the ID of the element that contains the input folder of the task. The value is "ID". This type/member supports the IIS Transform Manager infrastructure and is not intended to be used directly from your code.
Public fieldStatic membertaskDefinitionElementNameRepresents a constant that is used when assigning the taskDefinition element name of the task. The value is "taskDefinition". This type/member supports the IIS Transform Manager infrastructure and is not intended to be used directly from your code.
Top

TaskDefinition objects are contained in a JobTemplate object that defines a transformation process.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft