ITask Members
Defines a task.
The following tables list the members exposed by the ITask type.
Public Properties
Name | Description | |
---|---|---|
CommandLine | Retrieves or sets the command line for the task. | |
CreateTime | Retrieves the task creation time. | |
Depend | Retrieves or sets the dependent tasks. | |
EndTime | Retrieves the task end time. | |
EnvironmentVariables | Retrieves the environment variables that were set for the task. | |
ErrorMessage | Retrieves the task error message. | |
ExitCode | Retrieves the exit code for the task. | |
ExtendedTaskTerms | Retrieves the application-defined extended terms for the task. | |
Id | Retrieves the task identifier. | |
IsExclusive | Determines whether other tasks from the job can run on the node at the same time as this task. | |
IsRerunnable | Determines whether the task can be rerun after a failure. | |
MaximumNumberOfProcessors | Retrieves or sets the maximum number of processors required by the task. | |
MinimumNumberOfProcessors | Retrieves or sets the minimum number of processors required by the task. | |
Name | Retrieves or sets the display name of the task. | |
ParentJobId | Retrieves the identifier of the parent job. | |
RequiredNodes | Retrieves or sets the list of required nodes for the task. | |
Runtime | Retrieves or sets the run-time limit for the task. | |
StartTime | Retrieves the time that the task started running. | |
Status | Retrieves the task status. | |
Stderr | Redirects standard error to the specified file. | |
Stdin | Redirects standard input from the specified file. | |
Stdout | Redirects standard output to the specified file. | |
SubmitTime | Retrieves the time that the task was submitted. | |
WorkDirectory | Retrieves or sets the startup directory for the task. |
Top
Public Methods
Name | Description | |
---|---|---|
SetEnvironmentVariable | Sets the task-specific environment variable. | |
SetExtendedTaskTerm | Sets the application-defined extended term for the task. |
Top
See Also
Reference
ITask Interface
Microsoft.ComputeCluster Namespace
IJob Interface
ICluster Interface