[XmlRootAttribute("Exec", Namespace = "http://schemas.microsoft.com/windows/2004/02/mit/task",
IsNullable = false)]
public class ExecAction : Action
ExecAction ea1 = new ExecAction("notepad.exe", "file.txt", null);
ExecAction ea2 = new ExecAction();
ea2.Path = "notepad.exe";
ea.Arguments = "file2.txt";
ExecAction | Creates a new instance of an ExecAction that can be added to Actions. |
ExecAction(String, String, String) | Creates a new instance of an ExecAction that can be added to Actions. |
ActionType | Gets the type of the action. (Inherited from Action) |
Arguments | Gets or sets the arguments associated with the command-line operation. |
Id | Gets or sets the identifier of the action. (Inherited from Action) |
Path | Gets or sets the path to an executable file. |
WorkingDirectory | Gets or sets the directory that contains either the executable file or the files that are used by the executable file. |
Clone | Creates a new object that is a copy of the current instance. (Inherited from Action) |
CompareTo |
Compares the current instance with another object of the same type and returns an integer that indicates whether the current
instance precedes, follows, or occurs in the same position in the sort order as the other object.
(Inherited from Action) |
Dispose | Releases all resources used by this class. (Inherited from Action) |
Equals(Action) | Indicates whether the current object is equal to another object of the same type. (Overrides ActionEquals(Action)) |
Equals(Object) | Determines whether the specified Object, is equal to this instance. (Inherited from Action) |
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 | Returns a hash code for this instance. (Inherited from Action) |
GetType | Gets the Type of the current instance. (Inherited from Object) |
IsValidPath | Determines whether the specified path is a valid filename and, optionally, if it exists. |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
SetValidatedPath | Validates the input as a valid filename and optionally checks for its existence. If valid, the Path property is set to the validated absolute file path. |
ToString | Gets a string representation of the ExecAction. (Overrides ActionToString) |
ToString(CultureInfo) | Returns a String that represents this action. (Inherited from Action) |
PropertyChanged | Occurs when a property value changes. (Inherited from Action) |
unboundValues | List of unbound values when working with Actions not associated with a registered task. (Inherited from Action) |