[SerializableAttribute]
[XmlRootAttribute("Task", Namespace = "http://schemas.microsoft.com/windows/2004/02/mit/task",
IsNullable = false)]
[XmlSchemaProviderAttribute("GetV1SchemaFile")]
public sealed class TaskDefinition : IDisposable,
IXmlSerializable, INotifyPropertyChanged
Actions | Gets a collection of actions that are performed by the task. |
Data | Gets or sets the data that is associated with the task. This data is ignored by the Task Scheduler service, but is used by third-parties who wish to extend the task format. |
LowestSupportedVersion | Gets the lowest supported version that supports the settings for this TaskDefinition. |
Principal | Gets the principal for the task that provides the security credentials for the task. |
RegistrationInfo | Gets a class instance of registration information that is used to describe a task, such as the description of the task, the author of the task, and the date the task is registered. |
Settings | Gets the settings that define how the Task Scheduler service performs the task. |
Triggers | Gets a collection of triggers that are used to start a task. |
XmlText | Gets or sets the XML-formatted definition of the task. |
CanUseUnifiedSchedulingEngine | Determines whether this TaskDefinition can use the Unified Scheduling Engine or if it contains unsupported properties. |
Dispose | Releases all resources used by this class. |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
GetHashCode | Serves as the default hash function. (Inherited from Object) |
GetType | Gets the Type of the current instance. (Inherited from Object) |
GetV1SchemaFile | Gets the XML Schema file for V1 tasks. |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
ToString | Returns a string that represents the current object. (Inherited from Object) |
Validate | Validates the current TaskDefinition. |
PropertyChanged | Occurs when a property value changes. |
Addition(TaskDefinition, Action) | Implements the operator + for actions on a definition, effectively adding the action to the definition. |
Addition(TaskDefinition, Trigger) | Implements the operator + for triggers on a definition, effectively adding the trigger to the definition. |
GetFilteredAvailableActions | Filtered the supplied available actions based on this TaskDefinition and the version of the Task Scheduler. (Defined by TaskServiceExtensions) |
GetFilteredAvailableTriggers | Filtered the supplied available triggers based on this TaskDefinition and the version of the Task Scheduler. (Defined by TaskServiceExtensions) |